Who can open a OneDrive file
onedrive_file_permissionsList every sharing link and person with access to a OneDrive file or folder, including permissions and inheritance, or revoke a selected permission with confirmation.
Instructions
action list (default): every sharing link and person with access to a OneDrive file or folder: link URL, view or edit, scope, expiry, password, whether it is inherited from a parent folder. action remove: revoke one (permissionId from the list); anyone relying on it loses access at once and the link cannot be restored, so WITHOUT confirm:true nothing is removed and you get what would go. An inherited permission is removed on the parent folder, and the owner's own access cannot be removed. Removal is verified by reading the list back. 0 credits. Needs OneDrive connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | list (default) or remove | |
| fileId | Yes | OneDrive file or folder id | |
| confirm | No | required true for remove | |
| permissionId | No | for remove |