---
title: "Revoke an API key"
method: DELETE
path: "/users/api-keys/{id}"
tags: ["API Keys"]
---

# Revoke an API key

`DELETE /users/api-keys/{id}`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/users/api-keys/{id}`
- Auth: HTTP bearer

Company-admin only. Any key of the caller's company, not only the caller's own.

## Path parameters

- `id` string, required

## Response `200`

- object
  - `success` boolean

## Other responses

- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `403`: The caller does not have the required role/permission.
- `404`: Not found, or the caller is not authorized to access this resource.

---

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