This operation updates an existing rule set. Only the properties present in the request are updated.
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",
"ruleSetType": "STANDARD",
"rules": [
{
"id": "<string>",
"ruleType": "DECLINE",
"name": "<string>",
"filterOperatorType": "ANY",
"filters": [
{
"id": "<string>",
"type": "MCC",
"reversed": true
}
]
}
]
}
The audit user to log the request
Successful operation
The response is of type object
.
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",
"ruleSetType": "STANDARD",
"rules": [
{
"id": "<string>",
"ruleType": "DECLINE",
"name": "<string>",
"filterOperatorType": "ANY",
"filters": [
{
"id": "<string>",
"type": "MCC",
"reversed": true
}
]
}
]
}