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

# Delete Api Key

`DELETE /v2/api-key/{api_key_id}`

Deletes the api_key and all its related data.

## Path parameters

- `api_key_id` string, required — The unique id of the API key

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

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