Delete admin API key

Changed on

Delete an organization admin API key

delete/organization/admin_api_keys/{key_id}

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/organization/admin_api_keys/{key_id}
  • Auth
    HTTP bearer

Path parameters

key_idstring required

The ID of the API key to be deleted.

Response

Confirmation that the API key was deleted.

idstring required
object'organization.admin_api_key.deleted' required
deletedboolean required

Example response

{
  "id": "key_abc",
  "object": "organization.admin_api_key.deleted",
  "deleted": true
}

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status