---
title: "Revoke an API key"
method: DELETE
path: "/v1/keys/{id}"
tags: ["Account"]
---

# Revoke an API key

`DELETE /v1/keys/{id}`

## Request

- Base URL: `https://api.fastaf.co`
- URL: `https://api.fastaf.co/v1/keys/{id}`
- Auth: HTTP bearer

The current key and the last active key on an account cannot be revoked.

## Path parameters

- `id` string, required

## Response `200`

API key revoked.

- object
  - `revoked` true, required

## Other responses

- `401`: A valid bearer API key is required.
- `403`: The account is suspended.
- `404`: The API key does not exist on this account.
- `409`: The API key is the current key or the account's last active key.
- `429`: A rate or concurrency limit was reached.
- `500`: The request failed unexpectedly.
- `503`: The service is temporarily unavailable.

---

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