---
title: "Revoke Api Key"
method: DELETE
path: "/v1/api-keys/{token_id}"
tags: ["v1", "protected", "api-keys"]
---

# Revoke Api Key

`DELETE /v1/api-keys/{token_id}`

Immediately revoke an API key.

The key's creator, or a workspace admin. The repository is scoped to the
workspace, not to the caller, so without this a member could cut off a
colleague's integrations.

## Path parameters

- `token_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

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