bymundi API

Rename a document folder

PATCH/v1/document-folders/{folderId}

Renames one of a trip's document folders. Undo with POST /changes/{changeId}/revert.

Permissions: documents:write · Kind: write · Cost: 1 unit · MCP tool rename_document_folder

Undoable: the response carries Bymundi-Change-Id; revert it with POST /v1/changes/{changeId}/revert.

Path parameters

Field Type Required Description
folderId uuid yes

Body

Field Type Required Description
name string yes As travelers will see it, e.g. 'Flights', 'Hotels', 'Insurance'. max 200 chars

Response 200

Field Type Required Description
object "document_folder" yes
id uuid yes
tripId uuid yes
name string yes
documentCount integer yes Ready documents filed in it. ≥ 0
createdAt string yes

Errors

Errors are problem details. Besides the refusals described above, any call like this one can return: