Get content restriction status for group
GET {{baseUrl}}/api/content/:id/restriction/byOperation/:operationKey/byGroupId/:groupId
Returns whether the specified content restriction applies to a group.
For example, if a page with id=123
has a read
restriction for the 123456
group id,
the following request will return true
:
https://your-domain.atlassian.net/wiki/rest/api/content/123/restriction/byOperation/read/byGroupId/123456
Note that a response of true
does not guarantee that the group can view the page, as it does not account for
account-inherited restrictions, space permissions, or even product access. For more
information, see Confluence permissions.
Permissions required: Permission to view the content.
RESPONSES
status: OK
""