Delete Product
Deletes a product from the Usage Meter
Request
URI
DELETE
/product?productType&forget&id
COPY
Path Parameters
string
sessionid
Required
The authentication token obtained from login API response
Query Parameters
boolean
forget
Required
Specifies whether to delete the product completely; must be set to true
integer
id
Required
ID of the product to delete, obtained from Add /product API response
Responses
202
Product deletion successful
Operation doesn't return any data structure
400
Invalid delete product request
Returns 400ManagedProductDeleteRequest of type(s) application/json
Operation doesn't return any data structure
401
Returns 401Unauthorized_sessionID of type(s) application/json
{
"errCode": "GW_LOGIN_REQUIRED",
"errMessage": "Your session not found or already expired. Please login"
}
string
errCode
Optional
errCode
string
errMessage
Optional
errMessage
502
For example, product with the specified 'ProductType' and 'id' is not found
Returns Error of type(s) application/json
{
"errCode": "string",
"errMessage": "string"
}
string
errCode
Optional
errCode
string
errMessage
Optional
errMessage
Product Operations
PUT
Accept Certificate
DELETE
Delete Product
GET
Get Product
POST
Post Product
PUT
Put Product