Skip to content

Deactivate API key

PATCH
/api/v1/api-keys/{key_id}/deactivate

Deactivates an API key without deleting it, disabling authentication for any client using it. Admin only.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Parameters

Path Parameters

key_id*
Type
string
Required
Format
"uuid"

Responses

Successful Response

application/json
JSON
{
"id": "string",
"name": "string",
"is_active": true,
"last_used_at": "string",
"created_at": "string"
}

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

XC AI Content Automation