![]() |
Consumption Analytics Documentation |
Deletes a service group, specified by its ID, and its contained services.
This method is available in Cloud Cruiser version 4.1 and later.
DELETE http://<ccServerURL>/rest/v2/serviceCatalog/groups/<id>
Name | Type | Description | |
---|---|---|---|
URL path parameters (required) | id | integer | The ID of the service group to delete |
None
text/plain
A statement of whether the deletion is successful.
DELETE http://localhost:8080/rest/v2/serviceCatalog/groups/10501
Successfully deleted service group with id 10501 and its containing services
<message>Failed to delete service group with id 10501 Cause: com.cloudcruiser.common.exceptions.NoSuchRecordException: Unable to locate specified Service Group</message>
<message>Failed to delete service group with id 10501 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