POST

Unpublish Site


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Takes a published site offline.

Unpublishing doesn't delete the site or any of its content. The site stays in the account and remains editable. To make the site live again, call Publish Site.

The site must currently be published. The call fails for a site that's already offline.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permission Scopes
Manage Site SSL & Publish State
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/enterprise-public-proxy/v1/sites/unpublish

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?