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 ID

Delete service by ID

Deletes a service specified by its ID.

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

Resource URL

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

Request

Parameters
  Name Type Description
URL path parameters (required) id integer The ID 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/10003

Java invocation
Response body (success)

Successfully deleted service definition with id 10003

Response body (failure)

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

Last modified

Tags

Classifications

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