Modulify

Move sites into a folder

move_sites_to_folder

Puts one or more sites into a folder, at most 200 per call, moving them out of whichever folder they were in.

Scopesites:writeMakes changes

A site belongs to at most one folder, and a folder only ever holds sites from its own workspace. Moving an archived site into a folder also takes it out of the Archive, and those ids come back in unarchivedIds. Nothing else about the sites changes.

Sites from another workspace, sites already in the folder and deleted sites are skipped rather than failing the call, so read movedIds in the response to see what actually moved. When every site is skipped, the whole call is refused instead of returning an empty result. See Folders.

Inputs

Input Type Required Description
folderId string Yes The destination folder, from list_folders.
projectIds array of strings Yes The site ids to move in, from list_sites, at most 200.