Delete admin API key
DELETEhttps:/api.openai.com/v1/organization/admin_api_keys/{key_id}
Delete the specified admin API key.
Path parameters
key_id
string
Required
Response
A confirmation object indicating the key was deleted.
Example request
1 curl -X DELETE https://api.openai.com/v1/organization/admin_api_keys/key_abc \2 -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \3 -H "Content-Type: application/json"
Example response
1 {2 "id": "key_abc",3 "object": "organization.admin_api_key.deleted",4 "deleted": true5 }
Built with