Cue
API ReferenceAPI Keys

Revoke an API key

Revoke an API key. The key stops working immediately.

DELETE
/api-keys/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API keys start with cue_sk_ prefix. Get your key from the Cue dashboard.

Example: cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234

In: header

Path Parameters

id*string

API key ID

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.oncue.so/v1/api-keys/apk_n8k3m7x2pqhj"
{
  "data": {
    "revoked": true
  }
}
{
  "error": "Unauthorized"
}
{
  "error": "API key not found"
}