---
title: "POST /api/cache/invalidate"
method: POST
path: "/api/cache/invalidate"
tags: ["/api/cache"]
---

# POST /api/cache/invalidate

`POST /api/cache/invalidate`

Invalidate cache entries.

  Use it like `/api/cache/invalidate?database=1&dashboard=15` (any number of database/dashboard/question can be
  supplied).

  `&include=overrides` controls whenever you want to invalidate cache for a specific cache configuration without
  touching all nested configurations, or you want your invalidation to trickle down to every card.

## Query parameters

- `include` 'overrides', nullable
- `database` integer[], nullable
- `dashboard` integer[], nullable
- `question` integer[], nullable

## Response `2XX`

Successful response

- MetabaseCacheApiCacheInvalidateResponse
  - `body` object, required
    - `count` integer, required
    - `message` string, required
  - `status` 200 | 404, required

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

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