Folders

Update a folder

Updates a folder owned by the authenticated user. Provide at least one of name, description, or parent_id. Renaming or moving disambiguates the name against the destination siblings. Setting parent_id reparents the folder (null moves it to the top level); moving a folder under itself, one of its own descendants, or into a different workspace is rejected with 400.

patch/api/v1/folders/{id}

Request

  • Base URL: https://mdflow.cz
  • URL: https://mdflow.cz/api/v1/folders/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Folder UUID.

Request body

namestring
descriptionstring
parent_idstring uuid nullable

Response

Updated folder.

idstring uuid required
namestring required
descriptionstring nullable required
parent_idstring uuid nullable required
workspace_idstring uuid required

The workspace this folder belongs to.

path_stringstring

Path segment names joined by " / ". Returned by the list and get endpoints; omitted from create and update responses.

created_atstring date-time required
updated_atstring date-time required

Changes

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