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

# Delete an API key.

`DELETE /organizations/api-keys/{id}`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/organizations/api-keys/{id}`
- Auth: HTTP bearer

Delete an organization-owned Leadping API key while keeping the organization intact. The request requires organization ownership or platform admin access.

## Path parameters

- `id` string, required

## Response `200`

The API key was successfully revoked.

- OrganizationApiKeyRevokeResponse: Confirms that an organization API key was revoked.
  - `id` string: Unique identifier of the revoked API key.
  - `revokedAt` string, date-time: Date and time when the API key was revoked.

## Other responses

- `400`: The request contains invalid values or fails validation.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller does not have permission to perform this operation.
- `404`: The API key was not found.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected error prevented the server from completing the request.

## Changes

- **2026-11-11** `81aed8c9afb7`: 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/organizations/api-keys/:id/delete.md)

---

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