Cloud Cruiser became HPE Consumption Analytics on Nov. 1st. You'll still see the old name in places while we update this site.

 

 

Consumption Analytics Documentation

Home > Cloud Cruiser 4 > REST API reference > Services > Delete service group by ID

Delete service group by ID

Deletes a service group, specified by its ID, and its contained services.

This method is available in HPE Consumption Analytics Portal version 4.1 and later.

Resource URL

DELETE http://<ccServerURL>/rest/v2/serviceCatalog/groups/<id>

Request

Parameters
  Name Type Description
URL path parameters (required) id integer The ID of the service group to delete
Body

None

Response

Content-Type

text/plain

Body

A statement of whether the deletion is successful.​

Examples

URL invocation

DELETE http://localhost:8080/rest/v2/serviceCatalog/groups/10501

Response body (success)

Successfully deleted service group with id 10501 and its containing services

Response body (nonexistent group)

<message>Failed to delete service group with id 10501 Cause: com.cloudcruiser.common.exceptions.NoSuchRecordException: Unable to locate specified Service Group</message>

Response body (group has transactions)

<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>

Last modified

Tags

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP