---
title: "Bulk delete API Keys for an organization"
method: DELETE
path: "/organizations/{organizationID}/api-keys"
tags: ["API Keys"]
---

# Bulk delete API Keys for an organization

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

Delete multiple API keys in a single request.

## Request body

- object
  - `ids` string[], required — Array of API key IDs to delete

## Response `204`

API Keys deleted successfully

## Other responses

- `400` — Error returned when the request is malformed or contains invalid parameters
- `401` — Error returned when authentication or authorization fails
- `404` — Generic error response

## Changes

- **2026-07-14** `fcbf82ebfc05` — 1 warning
  - deleted the `path` request parameter `organizationID`
- **2026-04-15** `a2cc5189d200` — 1 breaking
  - added the new path request parameter `organizationID`

[Change history](https://skmtc.dev/xataio/apis/xata-api/changes/organizations/:organizationID/api-keys/delete.md)

---

[API](https://skmtc.dev/xataio/apis/xata-api.md) · [All operations](https://skmtc.dev/xataio/apis/xata-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xataio/xata-api/revisions/16b3a31dfdf8/schema)
