To remove a vCenter server, use the following request:
DELETE /settings/vcenter_servers/:vcenter_server_id.xml
DELETE /settings/vcenter_servers/:vcenter_server_id.json
XML Request Example
curl -i -X DELETE -u user:userpass http://onapp.test/settings/vcenter_servers/56.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'
CODE
JSON Request Example
curl -i -X DELETE -u user:userpass http://onapp.test/settings/vcenter_servers/56.json -H 'Accept: application/json' -H 'Content-type: application/json'
CODE
Returns HTTP 204 response on successful deletion, or HTTP 404 when a vCenter server with the ID specified is not found.