delete-drive-item-permission
Removes a specific permission from a file or folder. Use after listing permissions to obtain the permission ID.
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 |