---
title: "Delete admin API key"
method: DELETE
path: "/organization/admin_api_keys/{key_id}"
---

# Delete 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

Delete an organization admin API key

## Path parameters

- `key_id` string, required: The ID of the API key to be deleted.

## Response `200`

Confirmation that the API key was deleted.

- object
  - `id` string, required
  - `object` 'organization.admin_api_key.deleted', required
  - `deleted` boolean, required

## Other responses

- `403`: The caller does not have permission to perform this operation.
- `404`: The API key was not found or is not available to this organization.

## Changes

- **2026-10-06** `487892d3954e`: 2 info
  - added the optional property `error/anyOf[#/components/schemas/Error]/misalignment/review_target` to the response with the `403` status
  - added the optional property `error/misalignment/review_target` to the response with the `404` status
- **2026-10-05** `7f654af7f94f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnistack-sh/apis/openai-api/changes/organization/admin_api_keys/:key_id/delete.md)

---

[API](https://skmtc.dev/omnistack-sh/apis/openai-api.md) - [All operations](https://skmtc.dev/omnistack-sh/apis/openai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnistack-sh/apis/openai-api/revisions/0a26f104d35f?raw)
