Content Permissions
Set page permissions
Changed onReplaces all direct content permissions on a page with the provided set. Any permissions not included in the request body are removed.
Permissions required: Permission to edit the page or administer the space.
put/pages/{id}/permissions
Request
- Base URLhttps://no-default/wiki/api/v2
- URLhttps://no-default/wiki/api/v2/pages/{id}/permissions
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: write:page:confluence
Path parameters
idinteger required
The ID of the page.
Query parameters
allow-self-lockoutboolean
If false (default), the request is rejected when it would remove the calling user's own edit access. Set to true to allow the operation even when it locks out the caller.
Request body
Response
Returned if the permissions are successfully replaced.
Changes
- info
endpoint added
- info