curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.example.com/api/admin/keys/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true
}
Revoke an admin key
Revoke an admin key
DELETE
/
api
/
admin
/
keys
/
{id}
curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.example.com/api/admin/keys/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true
}
Path parameters
Response
Ok
Status codes
| Code | Meaning |
|---|---|
200 | OK |
401 | Error |
404 | Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.example.com/api/admin/keys/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true
}
Last modified on November 13, 2026