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

# Revoke Api Key

`PUT /api/api-keys/{key_id}/revoke`

Revoke an API key (soft delete).

- **key_id**: Key UUID to revoke

## Path parameters

- `key_id` string, required

## Response `200`

Successful Response

- MessageResponse
  - `success` boolean
  - `message` string, required

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/revisions/93ee959dfa51/schema)
