Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the API key to be deleted.
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.
Was this page helpful?