Update access token template

patch/api/v2/user/accesstokentemplate/{id}

Partially updates an access token template owned by the authenticated user. Only the fields provided in the request body will be updated.

Path Parameters

  • idstringRequired
    The public ID of the template to update

Request Body

name string
New display name for the template (must be unique per user)
tokenScopes array[string]
Updated OAuth scopes
Allowed values: openid openid_enterprises profile user_manage enterprise_view_all enterprise_manage_all auditlogs_view_all wallet_view wallet_view_enterprise wallet_view_all wallet_create wallet_freeze wallet_freeze_all wallet_manage wallet_manage_all wallet_approve wallet_approve_all wallet_spend wallet_spend_all wallet_edit wallet_edit_all wallet_stake wallet_stake_all wallet_edit_enterprise wallet_spend_enterprise wallet_approve_enterprise wallet_manage_enterprise settlement_network_read settlement_network_write portfolio_view trade_view trade_trade trade_fix pending_approval_update metamask_institutional crypto_compare third_party_user_lookup private_verify_email scim all
allowedIPs array[string]
Updated IP allowlist. Each entry must be a valid IPv4, IPv6, or CIDR block.
Max items: <= 100 items
tokenLimits object
Updated spending limits configuration
allErc20TokensLimit object
spendingLimits array[object]

200 Response

id string required
name string required
userId string required
enterpriseId string
tokenScopes array[string]
allowedIPs array[string]
tokenLimits object
spendingLimits array[object]
allErc20TokensLimit object
createdAt string <date-time>
updatedAt string <date-time>

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

401 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

404 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

409 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id