---
title: "Revoke API key"
method: DELETE
path: "/api/auth/api-keys/{key_id}"
tags: ["auth"]
---

# Revoke API key

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

## Request

- Base URL: `https://api.ivive.app`
- URL: `https://api.ivive.app/api/auth/api-keys/{key_id}`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Revoke an API key. The key is immediately invalidated.

## Path parameters

- `key_id` string, required

## Response `200`

Successful Response

- APIKeyRevokeResponse
  - `id` string, required
  - `revoked` boolean, required

## Other responses

- `422`: Validation Error

---

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