Skip to main content
DELETE
/
api
/
api-keys
/
{key_id}
Revoke an API key
curl --request DELETE \
  --url https://api.userintuition.ai/api/api-keys/{key_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "API key revoked",
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Documentation Index

Fetch the complete documentation index at: https://docs.userintuition.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate with an API key (prefixed ui_sk_) or a JWT token from the dashboard.

Path Parameters

key_id
string
required

The ID of the API key to revoke

Response

API key revoked successfully

message
string
Example:

"API key revoked"

id
string
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"