vfs

Forget cached paths

Changed on

Evicts specific files or directories from the VFS directory cache. All values must be strings. Rclone also accepts _config and _filter objects here, but this schema leaves them out, because it can't allow objects for only those two keys.

post/vfs/forget

Request

Headers

Prefer'respond-async'

Set to respond-async to run the call in the background. Rclone returns a 202 with a job ID right away, and job/status reports progress. This has the same effect as the _async param in rclone's docs, but _async alone returns a 200 instead of a 202.

Request body

_groupstring

Stats group for this call.

fsstring

Optional VFS identifier to target; required when more than one VFS is active.

filestring

File to forget. Add more with keys that start with file, such as file2.

dirstring

Directory to forget. Add more with keys that start with dir, such as dir2.

Response

Paths evicted from the VFS directory cache.

forgottenstring[] required

Paths that were successfully forgotten.

Changes

    • breaking

      the request's body type changed from no type to object

    • warning

      removed subschema #2 from the request body allOf list

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      api tag vfs added