2

In Sharepoint 2013, there is a rest API to break permissions and add permissions to the object, but is there an rest Api to inherit permissions on the object again?

Thanks

4

Use this endpoint url to reset the permission, this will reset the permissions which means it will inherit the parent permission.

url : <site URL>/_api/Web/Lists/GetByTitle('<list name>')/items('<item id>')/resetroleinheritance

The above URL will reset the permission at the item level, you may implement the same for list or site level.

1

Similar to breakroleinheritance you can use resetroleinheritance endpoint

https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.resetroleinheritance.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.