Skip to main content
DELETE
/
api
/
api-keys
Revoke API Key
curl --request DELETE \
  --url https://ninjachat.ai/api/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

API key starting with nj_sk_

Query Parameters

id
string
required

The ID of the API key to revoke.

Response

Key revoked.

success
boolean
message
string