---
title: "Revoke an API key"
method: DELETE
path: "/v1/api-keys/{id}"
---

# Revoke an API key

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

## Request

- Base URL: `https://api.runbear.io`
- URL: `https://api.runbear.io/v1/api-keys/{id}`
- Auth: HTTP bearer

Revoke (permanently disable) an API key by id. Requires a key with the manage-API-keys capability.

## Path parameters

- `id` string, uuid, required: The API key id to revoke

## Response `200`

Default Response

- object
  - `success` true, required
  - `message` string, required

---

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