---
title: "Delete an API key"
method: DELETE
path: "/api/v1/api_key/{key}"
tags: ["Key Management"]
---

# Delete an API key

`DELETE /api/v1/api_key/{key}`

Delete a given API key.

**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.

## Path parameters

- `key` string, required

## Response `200`

OK

- ApiKeyResponse — An API key with its associated metadata.
  - `api_key` ApiKey — Datadog API key.
    - `created` string — Date of creation of the API key.
    - `created_by` string — Datadog user handle that created the API key.
    - `key` string — API key.
    - `name` string — Name of your API key.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v1.md) · [All operations](https://skmtc.net/datadog/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v1/revisions/ca5871004d26/schema)
