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 name

Delete a discount by name

Deletes a discount or surcharge specified by its name.

Resource URL

DELETE http://<ccServerURL>/rest/v2/discounts?discountName=<discountName>

Request

Parameters

Use the following parameters:

  Name Type Description
URL query parameters (required) discountName string The name 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?discountName=New_Account_Discount

Java invocation
Response body

Successfully deleted discount with name New_Account_Discount

Last modified

Tags

This page has no custom tags.

Classifications

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