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 > Discounts and surcharges > Delete a discount by ID

Delete a discount by ID

Deletes a discount or surcharge by its ID.

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

Resource URL

DELETE http://<ccServerURL>/rest/v2/discounts/<Id>

Request

Parameters
  Name Type Description
URL path parameters (required) Id integer The ID of the discount or surcharge 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/discounts​​/10001

Java invocation
Response body

Successfully deleted discount with id 10001

Last modified

Tags

This page has no custom tags.

Classifications

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