Vault

Rename a folder in place

Renames the leaf only (folders split rename from move, mirroring the native service API). Every descendant path repaths; ids stay stable. Returns the renamed folder as a bare tree node.

post/v1/vault/folders/{id}/rename

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/vault/folders/{id}/rename
  • Auth: HTTP bearer

Path parameters

idstring required

The folder's stable id.

Request body

newNamestring required

The new leaf name.

Response

The renamed folder as a bare tree node

idstring required

Stable random UUID; unchanged by move/rename.

kind'folder' | 'note' required

Whether a vault tree node is a folder or a note.

namestring required

Leaf display name, no path.

pathstring required

Vault-relative, '/'-separated path, e.g. "ideas/2026/pitch".

childrenWireVaultTreeNode[] circular

Changes

No recorded changes to this operation across all 1 revision of this API.