The Site Publish State API lets you take a site in your Wix Enterprise account offline from your own systems, without deleting it. Use it when a site must stop serving visitors right away, for example while its content is under review, and keep the site intact so it can go live again later.
With the Site Publish State API, you can take a published site offline.
To make a site live again, call Publish Site in the Site Actions API. To find the ID of a site in the account, call Query Sites in the Sites API.
It's important to note the following points before starting to code:
Authorization header and the ID of the account that owns the key in the wix-account-id header. The key needs the Manage Site SSL & Publish State permission scope.metaSiteId.Last updated: 23 September 2026