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

Delete service by name

Deletes a service specified by its name.

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

Resource URL

DELETE http://<ccServerURL>/rest/v2/serviceCatalog/definitions?serviceName=<name>

Request

Parameters
  Name Type Description
URL query parameters (required) serviceName string The name of the service 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/definitions?serviceName=Medium%20VM

Java invocation
Response body (success)

Successfully deleted service definition with name Medium VM

Response body (failure)

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

Last modified

Tags

Classifications

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