Delete Supervisor Services Versions
DescriptionDelete a Supervisor Service version. This operation only deletes the Supervisor Service version from vCenter if the version is in DEACTIVATED state and all instances of the version are removed from all Supervisors. Note that the Versions.deactivate operation should be called to deactivate the version before the version can be deleted. Note that deleting the last version of the supervisorService does not delete the supervisorService instance automatically.
Request
URLURL
Path Parameters
Path Parameters
Identifier of 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.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Errors
Errors
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the Supervisor Service version cannot be deleted in the current state, e.g. the version is not in DEACTIVATED state.
com.vmware.vapi.std.errors.unauthorized : if the user doesn’t have the SupervisorServices.Manage privilege.
com.vmware.vapi.std.errors.not_found : if Supervisor Service with the ID supervisorService or version with the ID {param.name version} could not be located.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request, e.g. if it is unable to reach a vSphere Supervisor that has the version enabled.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: delete