> ## 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.

# List Item Permissions

Returns a list of the item's permissions.

* **Least privileged** Microsoft Graph permission to access the action via **application**: `Files.Read.All`.
* **Higher privileged** Microsoft Graph permissions to access the action via **application**: `Sites.ReadWrite.All`, `Files.ReadWrite.All`, `Sites.Read.All`.

<Note>
  External Documentation

  To learn more, visit the [OneDrive documentation](https://learn.microsoft.com/en-us/graph/api/driveitem-list-permissions?view=graph-rest-1.0\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                   |
  | ------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
  | Item ID            | User, group or site ID depending on the chosen Entity Type. Leave as 'root' to list the permissions on the parent Drive Item. |
  | Parent Entity ID   | User, group or site ID depending on the chosen Entity Type.                                                                   |
  | Parent Entity Type | The type of the parent of target item for which to retrieve permissions.                                                      |
</div>

## Example Output

```json theme={"dark"}
{
	"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('98c4f2fe-59ff-47cb-b152-4d0f48fdce49')/drive/items('013UEMO3CCJQCRZEVSCRH3MDBTEBCTTKFF')/permissions",
	"value": [
		{
			"id": "aTowIy5mfG1lbWJlcnNoaXB8ZGFuaWVsLmt1cGVybWFuQGhhdml2YmxpbmtvcHMub25taWNyb3NvZnQuY29t",
			"roles": [
				"owner"
			],
			"grantedToV2": {
				"user": {
					"@odata.type": "#microsoft.graph.sharePointIdentity",
					"displayName": "test",
					"email": "test.test@testblinkops.onmicrosoft.com",
					"id": "98c4f2fe-59ff-47cb-b152-4d0f48fdce49"
				},
				"siteUser": {
					"displayName": "test",
					"email": "test.name@example.onmicrosoft.com",
					"id": "3",
					"loginName": "i:0#.f|membership|test.test@testblinkops.onmicrosoft.com"
				}
			},
			"grantedTo": {
				"user": {
					"displayName": "test",
					"email": "test.name@example.onmicrosoft.com",
					"id": "98c4f2fe-59ff-47cb-b152-4d0f48fdce49"
				}
			}
		}
	]
}
```

## Workflow Library Example

[List Item Permissions with Onedrive and Send Results Via Email](https://library.blinkops.com/workflows/list-item-permissions-with-onedrive-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/list-item-permissions-with-onedrive-and-send-results-via-email/canvas" />
</div>
