curl --request PUT \
--url https://api.tiro.ooo/v1/external/teams/me/folders/{folderId}/move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"newParentId": "98765",
"sharingTypeUpdateStrategy": "KEEP_EXISTING"
}
'{
"id": "12345",
"title": "Weekly Team Meetings",
"description": "Notes from our weekly sync",
"color": "#4A90D9",
"sharingType": "ALL_MEMBER_VIEWER",
"isTeamFolder": true,
"createdAt": "2025-01-15T10:30:00Z",
"updatedAt": "2025-01-20T12:00:00Z"
}Move a folder to a new parent folder or to the root level.
Set newParentId to null to move the folder to the root level.
Sharing Permissions:
sharingTypeUpdateStrategy to control how sharing permissions are handled:
KEEP_EXISTING (default): Maintains the folder’s current sharing permissionsINHERIT_FROM_PARENT: Adopts the sharing permissions from the new parent folderNote: You cannot move a folder into its own subtree (circular reference).
curl --request PUT \
--url https://api.tiro.ooo/v1/external/teams/me/folders/{folderId}/move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"newParentId": "98765",
"sharingTypeUpdateStrategy": "KEEP_EXISTING"
}
'{
"id": "12345",
"title": "Weekly Team Meetings",
"description": "Notes from our weekly sync",
"color": "#4A90D9",
"sharingType": "ALL_MEMBER_VIEWER",
"isTeamFolder": true,
"createdAt": "2025-01-15T10:30:00Z",
"updatedAt": "2025-01-20T12:00:00Z"
}API key in format {id}.{secret}
Folder ID to move
Request body for moving a folder to a new parent
Target parent folder ID. Set to null to move to root level.
"98765"
Strategy for updating sharing permissions after the move. Defaults to KEEP_EXISTING.
KEEP_EXISTING to maintain the folder's current sharing permissionsINHERIT_FROM_PARENT to adopt the new parent's sharing permissionsKEEP_EXISTING, INHERIT_FROM_PARENT "KEEP_EXISTING"
Folder moved successfully
Detailed folder information including metadata
Unique identifier for the folder
"12345"
Folder title (max 50 characters)
"Weekly Team Meetings"
Folder description
"Notes from our weekly team sync meetings"
Folder color in hex format
"#4A90D9"
Whether this is a team folder
true
ISO-8601 creation timestamp
"2025-01-15T10:30:00Z"
ISO-8601 last update timestamp
"2025-01-15T11:45:00Z"
Sharing permission level for team folders. Controls who can access notes within the folder.
| Type | View Access | Edit Access |
|---|---|---|
ALL_MEMBER_EDITOR | All team members | All team members |
ALL_MEMBER_VIEWER | All team members | No team-wide edit access granted |
LIMITED | Invited members only | Invited members only (per-member role) |
Details:
ALL_MEMBER_EDITOR: All team members can view and edit notes in this folder.ALL_MEMBER_VIEWER: All team members can view notes. No edit access is granted at the team level.LIMITED: Only explicitly invited members can access. When inviting members, you assign each member either VIEWER or EDITOR role individually.ALL_MEMBER_EDITOR, ALL_MEMBER_VIEWER, LIMITED "ALL_MEMBER_VIEWER"