---
title: "Delete Api Key"
method: DELETE
path: "/api/keys/{key_id}"
tags: ["api-keys"]
---

# Delete Api Key

`DELETE /api/keys/{key_id}`

Delete (revoke) an API key.

Requires: JWT token (session cookie or Authorization header)

Path parameters:
    key_id: The ID of the API key to delete

Returns:
    204 No Content on success

Raises:
    404: If key not found or not owned by user

## Path parameters

- `key_id` integer, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quadrillion/quadrillion-cloud-api/versions/399077308c86/schema)
