---
title: "Bulk delete API Keys for the authenticated user"
method: DELETE
path: "/api-keys"
tags: ["API Keys"]
---

# Bulk delete API Keys for the authenticated user

`DELETE /api-keys`

Delete multiple API keys in a single request.

## Request body

- object
  - `ids` string[], required — Array of API key IDs to delete (maximum 50 keys per request)

## 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
- `5XX` — Unexpected Error

---

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