Modulify

Unarchive sites

unarchive_sites

Brings one or more archived sites back out of the Archive, at most 200 per call.

Scopesites:writeMakes changes

The sites show in the dashboard lists and list_sites again. A site that was in a folder when it was archived goes back into that folder when the folder still exists, and otherwise lands in the main list outside any folder. Nothing is published or unpublished.

Sites from another workspace, sites that are not archived and deleted sites are skipped rather than failing the call, so read unarchivedIds in the response to see what came back. When every site is skipped, the whole call is refused. See Archive projects.

Inputs

Input Type Required Description
workspaceId string Yes The workspace the sites belong to.
projectIds array of strings Yes The archived site ids to bring back, from list_sites called with archived as true, at most 200.