Skip to content

Add role requirements for spo hubsite register and unregister #3965

@milanholemans

Description

@milanholemans

Currently the 2 commands spo hubsite register and spo hubsite unregister have a remark stating that the API is in preview and is subject to change. However I think the API is stable right now. When I consult the docs, I don't see any warning saying that the API is in preview.
https://learn.microsoft.com/en-us/sharepoint/dev/features/hub-site/rest-registerhubsite.method
https://learn.microsoft.com/en-us/sharepoint/dev/features/hub-site/rest-unregisterhubsite-method

Another thing about the docs: you should be SharePoint admin or Global admin to register or unregister a site as hub site. Usually when you need special permissions, we also explicitly show them in our docs. In this case the permissions are missing.

Things to do

For both spo hubsite register and spo hubsite unregister:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions