Remove empty directories
Deletes empty subdirectories beneath the specified path, optionally leaving the root.
post/operations/rmdirs
Query parameters
fsstring
Remote name or path to scan for empty directories.
remotestring
Path within fs whose empty subdirectories should be removed.
leaveRootboolean
Set to true to preserve the top-level directory even if empty.
_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
Response
Request succeeded returning an empty JSON object.
object required