Skip to main content

Save Rule Set


ApiScope: manage.rules.write
API Scope Level: ServiceSubscriberScope
Request Body required
    ruleSet object
    id string
    name string
    rules object[]
  • Array [
  • id string
    name string
    rule string
    order int32
    active boolean
  • ]
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
POST /v2/rulesEngine/ruleSets/rules/save

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
Body required
{
"ruleSet": {
"id": "string",
"name": "string"
},
"rules": [
{
"id": "string",
"name": "string",
"rule": "string",
"order": 0,
"active": true
}
]
}
Accept
curl / cURL
curl -L -X POST '/manage/v2/rulesEngine/ruleSets/rules/save' \
-H 'Content-Type: application/json' \
-H 'Accept: application/x-protobuf' \
--data-raw '{
"ruleSet": {
"id": "string",
"name": "string"
},
"rules": [
{
"id": "string",
"name": "string",
"rule": "string",
"order": 0,
"active": true
}
]
}'