Api keysId
Delete an API key
Removes (or archives) an API key so it can no longer authorize requests.
Path Parameters
id*string
UUID that identifies an API key or API key right (api_keys_id, api_key_rights_id).
Format
uuidHeader Parameters
apikey*string
The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.
Response Body
application/json
application/json
curl -X DELETE "https://athena-cluster.com/admin/api-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "apikey: string"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Empty
{
"status": "error",
"message": "string",
"error": "string"
}Create a new API key POST
Creates a new API key record and returns a one-time plaintext credential (`ath_{public}.{secret}`). Persist the returned secret securely; it is not retrievable later from the API.
Update an existing API key PATCH
Updates API key metadata, optional client binding, activation state, expiration, and grants.