---
title: "Account Delete Key"
method: DELETE
path: "/api/account/keys/{key_id}"
---

# Account Delete Key

`DELETE /api/account/keys/{key_id}`

## Request

- Base URL: `https://opwhcervi3.execute-api.ca-central-1.amazonaws.com`
- URL: `https://opwhcervi3.execute-api.ca-central-1.amazonaws.com/api/account/keys/{key_id}`
- Auth: HTTP bearer

Revokes one API key owned by the authenticated account. Bearer authentication is required; it changes key state but consumes no trial or quota and has no billing or email side effect.

## Path parameters

- `key_id` string, required

## Headers

- `Authorization` string, nullable

## Response `200`

Successful Response

- AccountKeyDeleteResponse
  - `ok` boolean, required

## Other responses

- `401`: Missing, malformed, or invalid credentials.
- `422`: Validation Error

---

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