manage_permissions
List, update, or revoke permissions for a file or folder on OneDrive and SharePoint.
Instructions
List, update, or revoke permissions for a file or folder
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | No | Item ID | |
| itemPath | No | Alternative: item path | |
| siteId | No | SharePoint site ID (optional) | |
| site | No | Known SharePoint site alias or canonical URL | |
| siteUrl | No | Canonical SharePoint site URL (optional alternative to siteId) | |
| driveId | No | Drive ID for a specific document library (optional) | |
| action | Yes | Action to perform | list |
| permissionId | No | Permission ID (for update/revoke actions) | |
| newRoles | No | New roles for update action (read, write, owner) |