REST API - delete

vcenter namespace management supervisor services versions: delete

Delete a supervisor service version. This operation deletes the supervisor service version from vCenter and tears down all resources for the service version in the vSphere Supervisor clusters that have the supervisor service version enabled. Note that deleting the last version of the supervisor_service does not delete the supervisor_service instance automatically. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

DELETE https://{server}/api/vcenter/namespace-management/supervisor-services/{supervisorService}/versions/{version}

Path Parameters

Name Type Description
Required
version string Identifier of the version.

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
500 error if the system reports an error while responding to the request, e.g. if it is unable to reach the vSphere Supervisor cluster.
400 not_allowed_in_current_state if the supervisor service version cannot be deleted in the current state.
404 not_found if supervisor service with the ID supervisor_service or version with the ID {param.name version} could not be located.
401 unauthenticated if the user can not be authenticated.
403 unauthorized if the user doesn't have the SupervisorServices.Manage privilege.