![]() |
Consumption Analytics Documentation |
Deletes a service specified by its name.
This method is available in Cloud Cruiser version 4.1 and later.
DELETE http://<ccServerURL>/rest/v2/serviceCatalog/definitions?serviceName=<name>
Name | Type | Description | |
---|---|---|---|
URL query parameters (required) | serviceName | string | The name of the service to delete |
None
text/plain
A statement of whether the deletion is successful.
DELETE http://localhost:8080/rest/v2/serviceCatalog/definitions?serviceName=Medium%20VM
Successfully deleted service definition with name Medium VM
<message>Failed to delete service definition with name Medium VM Cause: com.cloudcruiser.common.exceptions.ServiceExceptionNoStackTrace: Unable to delete service 'test-svc-2' because has transactions associated with it </message>
(c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP