Forum Discussion

WeibchenL's avatar
WeibchenL
Copper Contributor
Feb 23, 2024
Solved

Help - API method /breakroleinheritance not working

Hello everyone,   I need help with the breakroleinheritance method, which isn't working. Error Code 404 states that the ressource can't be found (free translated). All articles I looked through say...
  • ganeshsanap's avatar
    ganeshsanap
    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.

Resources