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

Delete service group by name

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

This method is available in Cloud Cruiser version 4.1 and later.

Resource URL

DELETE http://<ccServerURL>/rest/v2/serviceCatalog/groups?groupName=<name>

Request

Parameters
  Name Type Description
URL query parameters (required) groupName string The full name of the service group to delete
Body

None

Response

Content-Type

text/plain

Body

A statement of whether the deletion is successful.​

Example

URL invocation

DELETE http://localhost:8080/rest/v2/serviceCatalog/groups?groupName=testGrp-3

Response body

Successfully deleted service group with name testGrp-3 and its containing services

Response body

<message>Failed to delete service group with name testGrp-3 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