v1

latestOpenAPI 3.1.0MIT2026-07-1799111346.8 KB

Purge directory

Deletes a directory or container and all of its contents.

post/operations/purge

Query parameters

fsstring

Remote name or path from which to remove all contents.

remotestring

Path within fs whose contents should be purged.

_configstring

JSON encoded config overrides applied for this call only.

_filterstring

JSON encoded filter overrides applied for this call only.

_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

fsstring

Remote name or path from which to remove all contents.

remotestring

Path within fs whose contents should be purged.

_configstring

JSON encoded config overrides applied for this call only.

_filterstring

JSON encoded filter overrides applied for this call only.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Response

Request succeeded returning an empty JSON object.

object required