---
title: "Delete API key"
method: DELETE
path: "/v1/api-keys/{api_key_id}"
tags: ["api_keys"]
---

# Delete API key

`DELETE /v1/api-keys/{api_key_id}`

Delete a specific API key by its ID.

Args:
    api_key_id: The ID of the API key to delete.

Returns:
    ApiKeyDeleted: The response containing the details of the deleted API key.

## Path parameters

- `api_key_id` string, uuid, required — The ID of the API key to delete

## Response `200`

The details of the deleted API key

- ApiKeyDeleted — Response model for deleting an API key.
  - `id` string, required — The ID of the deleted API key
  - `deleted` boolean, required — Whether the API key was deleted
  - `object` 'api_key' — The type of the object deleted

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/revisions/2eece97b5ae5/schema)
