This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Unassigns a domain from a site and deletes the domain assignment.
If the domain is the site's primary domain, all of the site's domain assignments are deleted, including its redirects. To remove only the primary domain and keep the redirects, first call Set Domain As Primary to make a different domain the site's primary domain. Then delete the previous primary domain's assignment.
You must specify the Wix account ID in the wix-account-id header.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.