POST /wiki/rest/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:

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

Servers

Path parameters

Name Type Required Description
id String Yes

The ID of the content to check permissions against.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
operation String Yes

The content permission operation to check.

Possible values:

  • "read"
  • "delete"
  • "update"
subject Object Yes

The user or group that the permission applies to.

subject.identifier String Yes

for type=user, identifier should be user's accountId or anonymous for anonymous users

for type=group, identifier should be ID of the group

subject.type String Yes

Possible values:

  • "group"
  • "user"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.