Rename a Shared Folder
Renames a shared folder on the server.
URI Template
POST services/builtin/StorageManagement.svc/serverfolder/{id}
/reaneme?newName{newName}
id
ID of the folder.
newName
The new name of share folder.
Sample Request
POST https://www.contoso.com/services/builtin/StorageManagement.svc/serverfolder/344bc4ac-9164-492a-9066-61afd13522e7/rename?newName=newShare
HTTP /1.1
Accept: application/xml
Content-Type: application/xml
Cookie: ASP.NET_SessionId=********************
Canary: *********************
Host: domainname
Content-Length: 0
Sample Response
HTTP/1.1 200 OK
Error Codes
Error Code | Error Message |
---|---|
400 | The request is invalid. |
401 | Access is denied to requested resource. |
404 | The request resource does not exist. |