---
title: "Revoke Api Key"
method: DELETE
path: "/v1/api-keys/{key_id}"
tags: ["API Keys"]
---

# Revoke Api Key

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

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/v1/api-keys/{key_id}`
- Auth: OAuth 2 (password, token URL `/v1/auth/login`)

## Path parameters

- `key_id` integer, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rubenayla/apis/partle-api.md) · [All operations](https://skmtc.dev/rubenayla/apis/partle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rubenayla/apis/partle-api/revisions/628cce2acee5?raw)
