---
title: "Delete Api Key"
method: DELETE
path: "/api/api-keys/{key_id}"
tags: ["api-keys"]
---

# Delete Api Key

`DELETE /api/api-keys/{key_id}`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/api-keys/{key_id}`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Soft-delete an API key.

The key immediately stops authenticating after deletion.
Requires JWT authentication.

## Path parameters

- `key_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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