---
title: "Invalidate cache."
method: DELETE
path: "/tyk/cache/{apiID}"
tags: ["Cache Invalidation"]
---

# Invalidate cache.

`DELETE /tyk/cache/{apiID}`

Invalidate cache for the given API.

## Path parameters

- `apiID` string, required

## Response `200`

Cache invalidated.

- ApiStatusMessage
  - `message` string
  - `status` string

## Other responses

- `403` — Forbidden
- `500` — Internal server error.

## Changes

- **2024-09-18** `111affa17abe` — 1 breaking, 2 info
  - added the new path request parameter `apiID`
  - added the non-success response with the status `403`
  - added the non-success response with the status `500`
- **2022-05-24** `111d8ca21864` — 1 warning, 2 info
  - deleted the `path` request parameter `apiID`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `500`

[Change history](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api/changes/tyk/cache/:apiID/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/112d45c9d019/schema)
