vcenter host: delete

Remove a standalone host from the vCenter Server.

Request:

HTTP request

DELETE https://{server}/rest/vcenter/host/{host}

Path Parameters

Name Type Description
Required
host string Identifier of the host to be deleted.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error if the system reports an error while responding to the request.
404 not_found if there is no host associated with host in the system.
400 resource_in_use if the host associated with host is in a vCenter cluster
503 service_unavailable if the system is unable to communicate with a service to complete the request.
401 unauthenticated if the user can not be authenticated.
403 unauthorized if the user doesn't have the required privileges.