Skip to main content
POST
Edit a session key's off-chain settings

Body

application/json
public_session_key
string
required
wallet
string
required
ip_whitelist
string[] | null
label
string | null
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