POST /api/cache/invalidate
Changed onInvalidate 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.
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Query parameters
All cache configuration overrides should invalidate cache too
A list of database ids
A list of dashboard ids
A list of question ids
Response
Successful response
Changes
- breaking
the
response's property type changed fromintegerto no type for status - info
the
response property const value200was added for the status - info
removed the
200.00enum value from theresponse property for the response status - info
removed the
404.00enum value from theresponse property for the response status
- breaking
- info
added the media type
application/jsonfor the response with the status
- info