---
title: "Delete Key"
method: DELETE
path: "/tyk/keys/{keyID}"
tags: ["Keys"]
---

# Delete Key

`DELETE /tyk/keys/{keyID}`

Deleting a key will remove it permanently from the system, however analytics relating to that key will still be available.

## Response `200`

Key deleted

- ApiStatusMessage — apiStatusMessage represents an API status message
  - `message` string — Response details
  - `status` string

## Changes

- **2022-05-24** `111d8ca21864` — 5 warning, 4 info
  - deleted the `path` request parameter `keyID`
  - deleted the `query` request parameter `hashed`
  - removed the optional property `action` from the response with the `200` status
  - removed the optional property `key` from the response with the `200` status
  - …5 more

[Change history](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api/changes/tyk/keys/:keyID/delete.md)

---

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