---
title: "Revoke an API key."
method: DELETE
path: "/api-keys/{id}"
tags: ["ApiKeys"]
---

# Revoke an API key.

`DELETE /api-keys/{id}`

## Request

- Base URL: `https://api.enterprise.airtm.com/v2`
- URL: `https://api.enterprise.airtm.com/v2/api-keys/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2/docs/api-keys/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Revoke an existing API key.

## Path parameters

- `id` string, required

## Response `204`

No content

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2.md) - [All operations](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2/revisions/c9ed13d4c5c0?raw)
