Hi, I'm trying to create a vcenter in Usage Manager 3.6.
curl -v -k -X POST -H x-usagemeter-authorization:<token> https://<host>:8443/um/api/vcServer -d '<?xml version="1.0" encoding="UTF-8"?><vcServer><hostname>hostnamexxx</hostname><port>443</port><username>user@vsphere.local</username><password>xxxxxxxx</password><monitor>true</monitor><sso>1</sso></vcServer>'
But I always get an error 404. It seems that POST /api/vcServer is not the correct path, but it's the one indicated in api reference. I'm able to get and delete the vcenters, so I know that authorization token and API URL are correct. I'm only having problems with the create method.
Does anyone know how could I create an vcenter un Usage Meter 3.6 using the api?