v1

latestOpenAPI 3.0.12026-07-13130168404.3 KB
Content restrictions

Get content restriction status for group

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:

/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.

get/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 id of the group to be queried for whether the content restriction applies to it.

Response

Returns true if the content restriction applies to the group. The response will not return a response body.