is it possible to manage permissions to folders in SharePoint using API ?

Copper Contributor

hello everyone , i m trying to give access to people using the SharePoint API to some specifics folders 
i searched i just found out that the API can just (CRUD) data .

if its possible please give me a solution 

1 Reply

@Oussamaflahi Yes, you can break the permissions inheritance and grant permissions to specific folders using SharePoint REST API.

 

Check below links for detailed information, it should work for you:

  1. Working with folders and files with REST 
  2. break folder inheritance REST 
  3. Sharing a folder using sharepoint Rest API 

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.