API Keys
Delete an API key
Delete one CometAPI API key by ID for the authenticated account.
DELETE
cURL
Use this endpoint to delete an API key by ID.
After deletion, the key can no longer be used for model requests. The response only confirms whether the deletion succeeded.
The
Generate a personal access token at Console → Personal Settings, then send it as the raw
Authorization header value. Do not prefix it with Bearer.id path parameter is the numeric key ID returned by List API keys. Deleting a key is permanent for that key value; create a new API key if the integration needs credentials again.Authorizations
Personal access token copied from CometAPI Console > Personal Settings. Send the raw token value; do not prefix it with Bearer.
Path Parameters
Numeric API key ID returned by the list endpoint. Deleting this ID permanently invalidates that key value.