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

# Revoke Api Key

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

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/api-keys/{key_id}`
- Auth: HTTP bearer

Revoke an API key belonging to the org (spec Q9): the key's own
creator, or the org's owner, may revoke it -- any other member gets a
403, distinct from the 404 an unknown/other-org key gets.

## Path parameters

- `key_id` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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