---
title: "Revoke API key"
method: DELETE
path: "/v4/account/api-keys/{id}"
---

# Revoke API key

`DELETE /v4/account/api-keys/{id}`

Permanently revoke an API key. The key can no longer be used for authentication. You cannot revoke the key you are currently using — use a different key. Permission: `account:apikeys:delete`.

## Path parameters

- `id` string, uuid, required

## Response `200`

Key revoked

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` string, uuid
    - `revoked_at` integer — Unix timestamp of when the key was revoked.

## Other responses

- `401` — Unauthorized
- `404` — API key not found
- `409` — Cannot delete the API key currently in use
- `500` — Internal server error

---

[API](https://skmtc.net/proxyscrape/apis/proxyscrape-account-api.md) · [All operations](https://skmtc.net/proxyscrape/apis/proxyscrape-account-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/proxyscrape/proxyscrape-account-api/revisions/4e10267785e1/schema)
