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

# Revoke Key

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

Revoke an API key (soft delete).

## Path parameters

- `key_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getnivara/apis/nivara-api.md) · [All operations](https://skmtc.dev/getnivara/apis/nivara-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getnivara/nivara-api/revisions/2810c849c6a4/schema)
