Skip to main content
POST
private/edit_session_key

Authorizations

X-DeriveWallet
string
header
required

The wallet the request acts for.

X-DeriveTimestamp
string
header
required

The current time in milliseconds, as a decimal string.

X-DeriveSignature
string
header
required

EIP-191 signature of the timestamp, by the wallet or one of its session keys.

Body

application/json
public_session_key
string
required
wallet
string
required
ip_whitelist
string[] | null
label
string | null

Send null to clear the label; omit the field to leave it unchanged.

offchain_scopes
string[] | null

Response

Success

expiry_sec
integer<uint64>
required
Required range: x >= 0
ip_whitelist
string[]
required
label
string
required
offchain_scopes
string[]
required

Off-chain scopes (read-tier capabilities).

protocol_scopes
string[]
required

Protocol-level (on-chain authority) scopes.

public_session_key
string
required
registered_sec
integer<uint64>
required
Required range: x >= 0
subaccount_ids
integer<uint64>[]
required

Subaccounts this key may act on. An empty stored value means "all subaccounts" and is expanded to the wallet's current subaccount list.

Required range: x >= 0