---
title: "DELETE /tyk/keys/{keyId}"
method: DELETE
path: "/tyk/keys/{keyId}"
---

# DELETE /tyk/keys/{keyId}

`DELETE /tyk/keys/{keyId}`

Remove this *API token* from the gateway, this will completely destroy the token and metadata associated with the token and instantly stop access from being granted

## Path parameters

- `keyId` string, required

## Query parameters

- `api_id` string, string, required

## Headers

- `x-tyk-authorization` string, string, required

## Response `200`

Key Deleted Response

---

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