---
title: "Revoke API key"
method: POST
path: "/v1/console/api-keys/{id}/revoke"
tags: ["Console - API Keys"]
---

# Revoke API key

`POST /v1/console/api-keys/{id}/revoke`

Revoke an API key. Revoked keys can no longer be used to call workspace APIs.

## Path parameters

- `id` string, required

## Response `200`

API key revoked successfully

- RevokeApiKeyResponseDto
  - `revoked` boolean, required

## Other responses

- `401` — Unauthorized
- `404` — API key not found

---

[API](https://skmtc.net/hopae/apis/hconnect-api.md) · [All operations](https://skmtc.net/hopae/apis/hconnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hopae/hconnect-api/versions/ed6e97ac6f2f/schema)
