Forum Discussion
Help - API method /breakroleinheritance not working
- Feb 23, 2024
WeibchenL Try using API like below based on item ID:
_api/web/lists/GetByTitle('Documents')/items(5)/BreakRoleInheritance(CopyRoleAssignments=true, ClearSubscopes=true)
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
WeibchenL Try using API like below based on item ID:
_api/web/lists/GetByTitle('Documents')/items(5)/BreakRoleInheritance(CopyRoleAssignments=true, ClearSubscopes=true)
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Thank you so much, I could bake you a cake.
Maybe I will if you ever visit Palatinate (Region in Germany) xD
- ganeshsanapFeb 23, 2024MVP
WeibchenL You are welcome, I am glad it worked for you!
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.