v4
latestOpenAPI 3.1.02026-08-01207318738.7 KBAPI Tokens
Enable or disable an API token
Enables or disables an API token. Requires organization admin permissions.
put/api/v1/api-keys/{id}
Path parameters
idstring uuid required
Token UUID
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
Token UUID
Request body
Response
The updated API token
Example response
{
"createdAt": "2026-01-15T10:00:00.000Z",
"enabled": true,
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"membershipId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "CI deployment key",
"type": "organization"
}