Skip to main content

TokenResponse

Metadata for a personal access token. The secret token value is never included here.

idstring<uuid>

Id of the token, used to revoke it.

namestringnullable

The token's label.

scopesTokenScope (string)[]nullable

The permissions granted to the token.

Possible values: [Read, Write, Admin]

createdAtstring<date-time>

The date and time (UTC) at which the token was created.

lastUsedAtstring<date-time>nullable

The date and time (UTC) at which the token was last used, or null if never used.

expiresAtstring<date-time>nullable

The date and time (UTC) at which the token expires, or null if it never expires.

TokenResponse
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"scopes": [
"Read"
],
"createdAt": "2024-07-29T15:51:28.071Z",
"lastUsedAt": "2024-07-29T15:51:28.071Z",
"expiresAt": "2024-07-29T15:51:28.071Z"
}