Skip to content

Get a legacy API token (disabled)​

GET
/api/legacy-api-tokens/{id}

Intentionally disabled: an individual legacy token is never exposed by id. The item route exists only so collection IRIs and the Delete operation can resolve, and this endpoint always responds with 403 Forbidden.

Authorizations​

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext). A token created with readOnly may only perform safe requests (GET, HEAD, OPTIONS); write requests are rejected on every endpoint.

Type
API Key (header: X-API-TOKEN)
or
JWT

JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer .

Type
HTTP (bearer)

Parameters​

Path Parameters

id*

legacy-api-token identifier

Type
string
Required

Responses​

legacy-api-token resource

JSON
{
  
"@context": "string",
  
"@id": "string",
  
"@type": "string",
  
"id": 42,
  
"legacyOrgId": 1234,
  
"expiredAt": "2024-12-31T23:59:59+00:00",
  
"comment": "CI deploy token",
  
"createdAt": "2024-01-15T09:30:00+00:00",
  
"tokenPreview": "a1b2c3d4…"
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI