---
title: "Revoke one customer API key."
method: DELETE
path: "/v1/account/api-keys/{id}"
---

# Revoke one customer API key.

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

## Request

- Base URL: `https://paperagent.dev`
- URL: `https://paperagent.dev/v1/account/api-keys/{id}`
- Auth: API key in cookie `__Host-pa_session`

## Path parameters

- `id` string, required

## Headers

- `X-CSRF-Token` string, required

## Response `200`

Success

- object
  - `ok` boolean, required

## Other responses

- `default`: Browser session, CSRF, validation, or account policy error.

---

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