delete-drive-item-permission
Removes a specific non-inherited permission from a OneDrive file or folder. Provide drive, item, and permission IDs to revoke access.
Instructions
Delete navigation property permissions for drives
💡 TIP: Removes a specific permission from a file or folder. Only permissions that are not inherited can be deleted. Use list-drive-item-permissions first to find the permission ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| If-Match | No | ETag | |
| driveId | Yes | Path parameter: driveId | |
| driveItemId | Yes | Path parameter: driveItemId | |
| permissionId | Yes | Path parameter: permissionId | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |