Skip to main content
PATCH
Update a token

Authorizations

Authorization
string
header
required

OAuth2 Client Credentials Flow

Path Parameters

tokenId
string
required

The ID of the token to update

Body

application/json
network
string
required

The network the token is associated with

isActive
boolean
required

Corresponds to the "isValid" field on the token

name
string | null

The name associated with the token

expiresAt
string<date-time> | null

The ISO date time when the token will expire

whitelistType
enum<string>
Available options:
ALWAYS,
ALLOWED,
ALLOWED_OFFLINE,
NEVER

Response

The token has been updated.

data
object
required