---
title: "Delete API key by ID (deleteApiKey)"
method: DELETE
path: "/api/apiKey/{id}"
tags: ["api-key-controller"]
---

# Delete API key by ID (deleteApiKey)

`DELETE /api/apiKey/{id}`

Deletes the API key. Referencing non-existing ApiKey Id will cause an error.

Available for any authorized user.

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
