Delete page permissions
Changed onDeletes 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.
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
The ID of the page.
Query parameters
Filter by operation. Must be provided together with principal-type and principal-id.
Filter by principal type. Must be provided together with principal-id.
Filter by principal ID. Must be provided together with principal-type.
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
- info
endpoint added
- info