Skip to main content
DELETE
/
admin
/
api-keys
/
:api_key_id
curl -X DELETE https://YOUR_API_SUBDOMAIN.avicenna.dev/admin/api-keys/6c3c3816-b8ad-4279-8fe0-1d19a0640f96 \
  -H 'Authorization: Bearer avcna_sk_xxxxxxxxx'
{
    "success": true,
    "message": "API key deleted"
}

Documentation Index

Fetch the complete documentation index at: https://docs.avicenna.dev/llms.txt

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

Path Parameters

api_key_id
string
required
The API key ID (not the API key itself).
curl -X DELETE https://YOUR_API_SUBDOMAIN.avicenna.dev/admin/api-keys/6c3c3816-b8ad-4279-8fe0-1d19a0640f96 \
  -H 'Authorization: Bearer avcna_sk_xxxxxxxxx'
{
    "success": true,
    "message": "API key deleted"
}