REST API - update

vcenter vm tools: update

Update the properties of VMware Tools. This operation was added in vSphere API 7.0.0.


HTTP request

PATCH https://{server}/rest/vcenter/vm/{vm}/tools

Path Parameters

Name Type Description
vm string Identifier of the virtual machine.

Request Body Structure:


Request Body Parameters:

Name Type Description
bold = required
spec update_spec The new values.
spec.upgrade_policy string Tools upgrade policy setting for the virtual machine. This attribute was added in vSphere API 7.0.0.

Optional. If this field is omitted the value will not be changed.


HTTP Status Code: 200



HTTP Status Code Type Description
500 error if the system reports an error while responding to the request.
400 invalid_argument if the field contains a value that is not supported by the server.
404 not_found if the virtual machine is not found.