Is there a way in CSOM wherein I can rename document library using CSOM like we do in SPD(renaming the root folder)?

I tried several ways e.g updateTitle,FileLeafRef. Also tried to rename a folder etc but nothing seems to work.

I would like to know if is this possible at all?


Please reference https://sharepoint.stackexchange.com/a/137221/75930

It seems to do what you are asking in SharePoint 2013, you should use the Folder.MoveTo method to create a copy under a new name, and then delete the old.

Your Answer

