Skip to main content
DELETE
/
admin
/
api-keys
/
{id}
Revoke an API key
curl --request DELETE \
  --url https://aansi-integration.qode.gg/api/v1/admin/api-keys/{id} \
  --header 'x-admin-secret: <api-key>'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "revokedAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.aansi.qode.world/llms.txt

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

Authorizations

x-admin-secret
string
header
required

Shared secret configured via the ADMIN_SECRET env var on the service.

Path Parameters

id
string<uuid>
required

API key id (from POST /admin/api-keys response).

Response

Key revoked

success
boolean
Example:

true

data
object