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

# Revoke Api Key

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

Revoke (delete) an API key.

Users can only revoke their own keys. Organization keys can only be revoked
if the user is still a member of that organization.

## Path parameters

- `key_id` integer, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/revisions/900377f918b6/schema)
