Patch Rules

Patch Rules

This API updates customer rules. Only rule name update is allowed. It returns the updated rules definition.

Request
URI
PATCH
https://umip/api/v1/rules
COPY
Request Body

Rules update definition

PatchRulesRequest of type(s) application/json
Required
{
    "rules": [
        {
            "name": "string",
            "id": "string"
        }
    ]
}
array of object
rules
Optional

rules

Authentication
This operation uses the following authentication methods.
Responses
200

Rules updated

Returns PatchRulesResponse of type(s) application/json
"PatchRulesResponse Object"
array of object
rules
Optional

rules


400
Returns 400InvalidRequest of type(s) application/json
Operation doesn't return any data structure

401

Unauthorized - Invalid login credentials

{
    "errCode": "string"
}
string
errCode
Optional

errCode


Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'