Team documents

Move a Team document

Moves one Team document into another folder of the same workspace, or to the workspace root with folder_id null. A destination folder in another workspace returns 404 — documents never change workspace. Duplicate titles at the destination are disambiguated. Requires write access to the document's workspace.

put/api/team/v1/documents/{id}/folder

Request

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

Path parameters

idstring uuid required

Document UUID.

Request body

folder_idstring uuid nullable required

Destination folder in the document's own workspace, or null for the workspace root.

Response

Moved Team document (without body).

idstring uuid required
workspace_idstring uuid required

The Team workspace this document belongs to. Never changes.

folder_idstring uuid nullable required

Containing folder, or null for a document at the workspace root.

titlestring required
created_atstring date-time required
updated_atstring date-time required

Changes

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