Unregisters a hub site so that it is no longer a hub site. It will become a regular site. Any sites associated with the hub site will no longer be associated. This can take up to an hour to propagate. If you want to speed up the process, first remove any associated sites before unregistering the hub site.

HTTP request

POST /_api/site/UnRegisterHubSite

URI parameters


Request headers

Header Value
Accept application/json;odata=verbose
Content-Type application/json;odata=verbose;charset=utf-8
x-requestdigest The appropriate digest for current site.

Request body

Do not supply a request body for this method.


Name Type Description
204 OK Success
Other Status Codes Error Error response describing why the operation failed.


UnRegister a marketing site so it is no longer a hub site

Sample request


Sample response

Status code: 204

See also