Server.saveSiteState (Method)

Sets a site's state to 'Active' or 'Inactive'.

Returns:

Void

Arguments:

Name Type Required Description
siteID AnySiteID Required The site's ID.
state ActiveInactive Required The status of the site, which can be 'Active' or 'Inactive'.

Context:

License Requirements None
Permission Requirements server:ManageSites
Deny Context None
Require Context Authoring
Author Lock  

Error Codes:

None

Notes:

None