Skip to main content
DELETE
/
api
/
v3
/
keys
/
{id}
Revoke API key
curl --request DELETE \
  --url https://api.lighton.ai/api/v3/keys/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": null,
  "code": 401,
  "error": "unauthorized",
  "detail": "Authentication credentials were not provided or are invalid.",
  "doc_url": "https://developers.lighton.ai/errors#unauthorized"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

API key revoked successfully.