Skip to main content
PATCH
Update API token

Path Parameters

tokenId
string<uuid>
required

Unique identifier of the API token.

Body

application/json

Request to update an existing API token.

Request to update an existing API token.

displayName
string

Updated display name for the API token (1-100 characters).

Required string length: 1 - 100

Response

API token response structure.

API token response structure.

current
boolean
required

Whether this token is the one the current request authenticated with.

Lets a client single out the active session in the list. Defaults to false; the listing handler sets it for the matching token.

displayName
string
required

Human-readable display name for the API token.

id
string<uuid>
required

Unique identifier for the token.

issuedAt
string<date-time>
required

Timestamp of token creation.

sessionType
required

Type of token (web, api, etc.).

Allowed value: "web"
expiredAt
string<date-time>

Timestamp when the token expires (None = never expires).

lastUsedAt
string<date-time>

Timestamp of most recent token activity.