Content Permissions

Set page permissions

Changed on

Replaces 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 URL
    https://no-default/wiki/api/v2
  • URL
    https://no-default/wiki/api/v2/pages/{id}/permissions
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: https://auth.atlassian.com/authorize
      Token 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