curl --request DELETE \
--url https://api.openai.com/v1/organization/admin_api_keys/{key_id} \
--header 'Authorization: Bearer <token>'
{
"id": "key_abc",
"object": "organization.admin_api_key.deleted",
"deleted": true
}
Delete the specified admin API key.
curl --request DELETE \
--url https://api.openai.com/v1/organization/admin_api_keys/{key_id} \
--header 'Authorization: Bearer <token>'
{
"id": "key_abc",
"object": "organization.admin_api_key.deleted",
"deleted": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the API key to be deleted.
Confirmation that the API key was deleted.
The response is of type object
.
Was this page helpful?