---
title: "Revoke an API key"
method: POST
path: "/api-keys/revoke"
tags: ["API Keys"]
---

# Revoke an API key

`POST /api-keys/revoke`

## Request

- Base URL: `https://api.foudroyer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.foudroyer.com/api-keys/revoke`
- Auth: HTTP bearer

Revokes an API key owned by the authenticated user.

## Request body

- ApiKeysRevokeDto
  - `id` string, required: ID of the API key to revoke

## Response `200`

---

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