Delete Product
Deletes a product from the Usage Meter
Request
URI
DELETE
https://{api_host}/product
COPY
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
Header Parameters
string
sessionid
Required
The authentication token obtained from login API response
Responses
202
Product deletion successful
Operation doesn't return any data structure
400
Returns 400InvalidRequest of type(s) application/json
{
"errCode": "GW_REQ_KEY",
"errMessage": "Not found expected value for key 'sampleKey'"
}
string
errCode
Optional
errCode
string
errMessage
Optional
errMessage
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
On This Page
Product Operations
PUT
Accept Certificate
DELETE
Delete Product
GET
Get Product
POST
Post Product
PUT
Put Product