Delete Rules

Delete Rules

Deletes customer rules from the Usage Meter

Request
URI
DELETE
https://{api_host}/rules
COPY
Query Parameters
string
name
Required

The name of a customer rule

Header Parameters
string
sessionid
Required

The authentication token obtained from login API response


Responses
204

Rules deletion is 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