latestOpenAPI 3.1.0Proprietary2026-08-175035117.5 KB

019f79ecdd6c

Tokens

Update a token

Replaces the grants, referers, allowed APIs and name of a token. The expiration date can't be changed — create a new token instead.

patch/v3/tokens/{token}

Path parameters

tokenstring required

The token string.

Request body

allowed_apisTokenAllowedApi[] required

Which APIs this token can call.

referersstring[]

Restrict use of the token to these HTTP referers. Empty means any.

namestring

A name for the token. Generated if omitted.

expiration_datestring date-time

When the token stops working. Must be in the future. Omit for a token that never expires. Can only be set at creation.

Response

The updated token.

tokenstring

The token to send in the Authorization header.

allowed_apisTokenAllowedApi[]
referersstring[] nullable
namestring
user_idstring nullable
account_idstring
created_atstring date-time
updated_atstring date-time
expiration_datestring date-time nullable