Modulify

Take sites out of a folder

remove_sites_from_folder

Takes one or more sites out of whatever folder they are in, at most 200 per call, so they sit loose in the dashboard.

Scopesites:writeMakes changes

The sites themselves are untouched and are not deleted. Only the grouping goes, and the folder survives even when this empties it.

Sites already outside a folder or belonging to another workspace are skipped, so read removedIds in the response to see which came out. When none of them were in a folder, the call is refused. See Folders.

Inputs

Input Type Required Description
workspaceId string Yes The workspace the sites belong to.
projectIds array of strings Yes The site ids to take out, from list_sites, at most 200.