v1

latestOpenAPI 3.1.0MIT2026-07-1799111346.8 KB

Expire cache entries

Drops cached directory entries, and optionally cached file data, for the cache backend.

post/cache/expire

Query parameters

remotestring

Remote path to expire from the cache, e.g. remote:path/to/dir.

withDataboolean

Set to true to drop cached chunk data along with directory entries.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Headers

Prefer'respond-async'

Set to "respond-async" with _async=true to receive HTTP 202 instead of 200.

Request body

remotestring

Remote path to expire from the cache, e.g. remote:path/to/dir.

withDataboolean

Set to true to drop cached chunk data along with directory entries.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Response

Request succeeded with no response body.