Content Permissions

Delete database permissions

Changed on

Deletes direct content permissions from a database. See DELETE /pages/{id}/permissions for filter semantics.

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

delete/databases/{id}/permissions

Request

  • Base URL
    https://no-default/wiki/api/v2
  • URL
    https://no-default/wiki/api/v2/databases/{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:database:confluence

Path parameters

idinteger required

The ID of the database.

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