PATCH
/
v1
/
rule-sets
/
{rule-set-id}
curl --request PATCH \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/spend-control/v1/rule-sets/{rule-set-id}/ \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "operatorType": "ANY"
}'
{
  "id": "<string>",
  "name": "<string>",
  "operatorType": "ANY",
  "rules": [
    {
      "id": "<string>",
      "ruleType": "DECLINE",
      "name": "<string>",
      "filterOperatorType": "ANY",
      "filters": [
        {
          "id": "<string>",
          "type": "MCC",
          "reversed": true
        }
      ]
    }
  ]
}

Path Parameters

rule-set-id
string
required

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
name
string
operatorType
enum<string>

Defines whether all rules should pass or if it's enough for just one rule to pass.

Available options:
ANY,
ALL

Response

200
application/json
Successful operation
id
string
name
string
operatorType
enum<string>

Defines whether all rules should pass or if it's enough for just one rule to pass.

Available options:
ANY,
ALL
rules
object[]