Deactivate Supervisor Services VersionsDescription
Deactivate a Supervisor Service version. This operation will change the Versions.State of the version to DEACTIVATED state, which will make sure the version cannot be created on any Supervisor cluster. Note that this operation should be called before deleting the version.
Identifier for the Supervisor Service. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService.
Identifier of the version. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version.
Required session ID, acquired from Create Session API under CIS product
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the Supervisor Service version cannot be deactivated in the current state, for example, the Supervisor Service is in ACTIVATED state and this version is the last version of the Supervisor Service in ACTIVATED state.
com.vmware.vapi.std.errors.unauthenticated : if the user cannot be authenticated.
com.vmware.vapi.std.errors.unauthorized : if the user does not have the SupervisorServices.Manage privilege.
com.vmware.vapi.std.errors.not_found : if Supervisor Service with the ID supervisorService or version with the ID version could not be located.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
PowerCLI Client SDK Example