Content Permissions

Delete page permissions

Changed on

Deletes direct content permissions from a page. Filters narrow the deletion scope; omitting all filters deletes all direct permissions.

The following filter combinations are supported:

  • No filters: deletes all direct permissions.
  • principal-type + principal-id: deletes the principal's direct read or update permission.
  • operation + principal-type + principal-id: deletes the permission only when its operation matches.

Providing operation without principal-type/principal-id, or providing only one of principal-type/principal-id, returns a 400 error.

Permissions required: Permission to edit the page or administer the space.

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

operation'read' | 'update'

Filter by operation. Must be provided together with principal-type and principal-id.

principal-type'user' | 'group'

Filter by principal type. Must be provided together with principal-id.

principal-idstring

Filter by principal ID. Must be provided together with principal-type.

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.

Response

Returned if the permissions are successfully deleted.

Changes