---
title: "Revoke (deactivate) an API key"
method: POST
path: "/apikey/{id}/revoke"
tags: ["API Keys"]
---

# Revoke (deactivate) an API key

`POST /apikey/{id}/revoke`

## Request

- Base URL: `http://localhost:5000/api/v1`
- URL: `http://localhost:5000/api/v1/apikey/{id}/revoke`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/scrubbe/apis/scrubbe-api/docs/apikey/:id/revoke/post.ts> (a function with typed inputs; its response is checked against the schema)

---

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