Skip to main content

SuccessResponse_ManagedToken

successboolean
Constant value: true
data object

An API token issued to a client-managed service account. The raw secret (token) is present only in the creation response.

identifierinteger

Numeric token ID

typestring

Token type (e.g. 'auth_token')

namestring | nullnullable

Stored token name (prefixed API_KEY: {name})

tokenstring

The raw oat_… secret. Returned ONLY on creation; never echoed afterwards.

abilitiesstring[]

The token's ability strings, derived from the requested scope

lastUsedAtstring,null<date-time>nullable
expiresAtstring,null<date-time>nullable
createdAtstring,null<date-time>nullable
SuccessResponse_ManagedToken
{
"success": true,
"data": {
"identifier": 0,
"type": "string",
"name": "string",
"token": "string",
"abilities": [
"string"
],
"lastUsedAt": "2024-07-29T15:51:28.071Z",
"expiresAt": "2024-07-29T15:51:28.071Z",
"createdAt": "2024-07-29T15:51:28.071Z"
}
}