Delete Product

Delete Product

Deletes a product from the Usage Meter

Request
URI
DELETE
https://umip/api/v1/product
COPY
Query Parameters
productType
Required

productType

boolean
forget
Required
Constraints: default: true

Specifies whether to delete the product completely; must be set to true

integer
id
Required
Constraints: minimum: 1

ID of the product to delete, obtained from Add /product API response


Authentication
This operation uses the following authentication methods.
Responses
202

Product deletion successful

Operation doesn't return any data structure

400

Invalid delete product request

Returns 400ManagedProductDeleteRequest of type(s) application/json
"400ManagedProductDeleteRequest Object"

401
Operation doesn't return any data structure

502

For example, product with the specified 'ProductType' and 'id' is not found

Returns Error of type(s) application/json
"Error Object"
string
errCode
Optional

errCode

string
errMessage
Optional

errMessage


Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/v1/product?productType=value&forget=v