vcenter host: disconnect

Disconnect the host corresponding to host from the vCenter server


HTTP request

POST https://{server}/rest/vcenter/host/{host}/disconnect

Path Parameters

Name Type Description
host string Identifier of the host to be disconnected.


HTTP Status Code: 200



HTTP Status Code Type Description
400 already_in_desired_state if the host associated with host is already disconnected.
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.
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.