---
title: "Delete API key"
method: DELETE
path: "/api-keys/{api_key_id}"
tags: ["API Keys"]
---

# Delete API key

`DELETE /api-keys/{api_key_id}`

## Request

- Base URL: `https://api.aspect.inc`
- URL: `https://api.aspect.inc/api-keys/{api_key_id}`
- Auth: API key in header `Authorization`

Delete an API key permanently.

Only the creator of the API key can delete it.

## Path parameters

- `api_key_id` string, uuid, required: The ID of the API key to delete

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aspect/apis/aspect-api.md) - [All operations](https://skmtc.dev/aspect/apis/aspect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aspect/apis/aspect-api/revisions/28ea5f1adb54?raw)
