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

# Delete Key

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

Soft-delete a key. Blocked if it's the user's last active key.

## Path parameters

- `key_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/usebolsai/apis/bolsai.md) · [All operations](https://skmtc.net/usebolsai/apis/bolsai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usebolsai/bolsai/versions/4ff1922c6a7f/schema)
