curl --location '/SOAP?service=EasyIPCore' \
--header 'SOAPAction: urn:EasyIPLibrary-EasyIPCore#RenameVirtualDirectory' \
--header 'Content-Type: text/xml; charset=utf-8' \
--data '<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<tns:EasyIPCore___RenameVirtualDirectory xmlns="http://tempuri.org/">
<tns:DirectoryPath>string</tns:DirectoryPath>
<tns:NewName>string</tns:NewName>
</tns:EasyIPCore___RenameVirtualDirectory>
</soap:Body>
</soap:Envelope>'