---
title: "Delete API Key"
method: DELETE
path: "/v1/account/keys/{key_id}"
tags: ["Account & Keys"]
---

# Delete API Key

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

Delete an API key. Requires scope: keys:delete

## Path parameters

- `key_id` integer, required

## Response `200`

Successful Response

- AccountKeyDeleteResponse
  - `message` string — Success message.

## Other responses

- `400` — Bad Request - Deletion failed.
- `401` — Unauthorized - Missing or invalid API key.
- `403` — Forbidden - You do not own this API key.
- `404` — Not Found - API key not found.
- `422` — Validation Error
- `429` — Too Many Requests - Rate limit exceeded.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/routeway/apis/routeway-api.md) · [All operations](https://skmtc.dev/routeway/apis/routeway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/routeway/routeway-api/revisions/b6f03282a96b/schema)
