Api keysId
Update or delete an API key
Removes (or archives) an API key so it can no longer authorize requests.
Header 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/{id}" \ -H "apikey: string"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Empty
{
"status": "error",
"message": "string",
"error": "string"
}Manage API keys 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 or delete an API key PATCH
Updates API key metadata, optional client binding, activation state, expiration, and grants.