---
search:
  tags:
    - API keys
    - DELETE
seo:
  description: >-
    A key held to one domain deletes only keys held to that same domain; any
    other key… Reference for the DELETE /api-keys/{id} endpoint in the
    BillionSend API.
sidebar:
  label: Delete an API key
  badge: DELETE
title: Delete an API key
type: openapi-operation
---
A key held to one domain deletes only keys held to that same domain; any other key is not found.

`DELETE /api-keys/{id}`

**Responses**

- `200` — API key revoked
- `401` — Missing, malformed, unknown or revoked API key
- `404` — Not found
- `429` — Over the rate limit (rate\_limit\_exceeded, with Retry-After)

Response example, 200:

```json
{
  "object": "api_key",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "deleted": true
}
```
