Check content permissions

POST {{baseUrl}}/api/content/:id/permission/check

Check if a user or a group can perform an operation to the specified content. The operation to check must be provided. The user’s account ID or the ID of the group can be provided in the subject to check permissions against a specified user or group. The following permission checks are done to make sure that the user or group has the proper access:

  • site permissions
  • space permissions
  • content restrictions

Permissions required: Permission to access the Confluence site ('Can use' global permission) if checking permission for self, otherwise 'Confluence Administrator' global permission is required.

Request Body

{"subject"=>{"type"=>"<string>", "identifier"=>"<string>"}, "operation"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;hasPermission&quot;:true,&quot;errors&quot;:[{&quot;translation&quot;:&quot;anim ex commodo nulla quis&quot;,&quot;args&quot;:[]},{&quot;translation&quot;:&quot;aute&quot;,&quot;args&quot;:[]}]}