DELETE
/api_keys/{apiKeyID}Delete an API key
Deletes an API key identified by its ID. Supply the identifier using the ak_ or api_key_ prefix followed by 32 hexadecimal characters. The response confirms that the key was deleted.
apiKeyIDstringrequired
The API key identifier, using the `ak_` or `api_key_` prefix followed by 32 hexadecimal characters.
200Returns the API key identifier, its object type, and `deleted: true` to confirm deletion.
idstringrequired
objectstringrequired
deletedbooleanrequired
400Returned when the request is invalid.
errorsarray<object>required
404Returned when the API key is not found.
errorsarray<object>required
Error handling
A 400 indicates an invalid request; a 404 indicates the API key was not found. The apiKeyID path parameter must match either the ak_ or api_key_ prefix followed by 32 hexadecimal characters.