Vaults

Rename or move a folder

Changed on

Atomically renames or moves a folder, its empty descendants and all descendant object paths. Rejects an existing destination, root and self-descendant moves, and busy objects. Supports vaults with at most 25000 objects. Uses a 5-second lock timeout and 30-second statement timeout. Does not transfer file bytes. Requires vault-wide write access and vault ownership.

patch/vault/{id}/folders

Request

  • Base URL
    https://api.case.dev
  • URL
    https://api.case.dev/vault/{id}/folders
  • Auth
    HTTP bearer

Path parameters

idstring required

Request body

pathstring required
newPathstring required
expectedRevisionstring

Revision from a previous move, for safe Undo.

Response

Folder moved

pathstring
newPathstring
revisionstring
folderPathsstring[]
movedFilesinteger

Changes