DELETE/organization/admin_api_keys/{key_id}

Delete an organization admin API key

Deletes an organization admin API key. Use key_id to identify the key to remove. The response confirms deletion with the key identifier and a deleted flag.

1 parameter
key_idstringrequired
The identifier of the API key to delete.

3 status codes
200Returns a deletion confirmation containing the API key identifier, object type, and a `deleted` flag.
idstringrequired
objectstringrequired
Allowed:organization.admin_api_key.deleted
deletedbooleanrequired
403Returned when the caller does not have permission to perform this operation.
errorobjectrequired
Details about the permission error.
404Returned when the API key is not found or is not available to the organization.
errorobjectrequired

Error handling

A 403 is returned when the caller does not have permission to delete the API key. A 404 is returned when the key is not found or is unavailable to the organization. The key_id path parameter must identify an API key available to the organization.