> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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](https://confluence.atlassian.com/x/_AozKw) required**:
Permission to access the Confluence site ('Can use' global permission) if checking permission for self,
otherwise 'Confluence Administrator' global permission is required.

<Note>
  External Documentation

  To learn more, visit the [Confluence documentation](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-permissions/#api-wiki-rest-api-content-id-permission-check-post).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                                  |
  | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | ID                 | The ID of the content to check permissions against.                                                                                                          |
  | Operation          | The content permission operation to check.                                                                                                                   |
  | Subject Identifier | for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users<br /><br />for `type=group`, identifier should be ID of the group. |
  | Subject Type       | Select the entity type to check whether the permission applies to it.                                                                                        |
</div>

## Example Output

```json theme={"dark"}
{
	"errors": [
		{
			"args": [
				{}
			],
			"translation": "string"
		}
	],
	"hasPermission": false
}
```

## Workflow Library Example

[Permission Check with Confluence and Send Results Via Email](https://library.blinkops.com/workflows/permission-check-with-confluence-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/permission-check-with-confluence-and-send-results-via-email/canvas" />
</div>
