I have a flow that currently gives people access to a file and now i need to remove those specific permissions without removing everyones.
I built a flow where i was able to get the person's PrincipalID that would need to be removed but on my next "Send an HTTP request to SharePoint" i cannot figure out the Uri portion to point to a file instead of just a folder. Or is this currently not possible?
This is what i did but it doesnt work, but this is on the folder level, not the file level and i am going in several circles 🙂
_api/web/GetFolderByServerRelativeUrl(‘@{variables('HomeAddressBirthdayFolderPath')}′)/ListItemAllFields/RoleAssignments/GetByPrincipalId(@{variables('CreatedByPrincipalID')})

Report
All responses (
Answers (