v1
latestOpenAPI 3.0.12026-07-13130168404.3 KBContent restrictions
Add group to content restriction
Adds a group to a content restriction by Group Id. That is, grant read or update permission to the group for a piece of content.
Permissions required: Permission to edit the content.
put/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}
Path parameters
idstring required
The ID of the content that the restriction applies to.
operationKey'read' | 'update' required
The operation that the restriction applies to.
groupIdstring required
The groupId of the group to add to the content restriction.
Response
Returned if the group is added to the content restriction by Group Id. The response body will be empty.