Host Patch Manager Uninstall Host Patch Task

Host Patch Manager Uninstall Host Patch Task

Uninstall patch from the host.

The operation is not cancelable.

Required privileges: Host.Config.Patch

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HostPatchManager/{moId}/UninstallHostPatch_Task
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case HostPatchManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
UninstallHostPatchRequestType of type(s) application/json
Required
"UninstallHostPatchRequestType Object"
array of string
bulletinIds
Optional

A list of bulletin IDs to be removed.

object
spec
Optional

Optional parameters for hostd to pass to exupdate.

Authentication
This operation uses the following authentication methods.
Responses
200

This method returns a Task object with which to monitor the operation.

Returns MoRefTask of type(s) application/json
"MoRefTask Object"

500

InvalidState: if the feature cannot be supported on the platform, potentially because the hardware configuration does not support it.

TaskInProgress: if there is already a patch installation in progress.

PlatformConfigFault: if any error occurs during the operation. More detailed information will be returned within the payload of the exception as xml string.

Returns VimFault of type(s) application/json
This response body class contains all of the following: InlineVimFault0
"VimFault Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostPatchManager/{moId}/UninstallHostPatch_Task