Updates a draft ruleset for a specified event type.
Draft ruleset resource.
required | Array of objects (Rule) Rule can be configured to stop subsequent rules in the event list from being executed. A rule is a configuration of an event and one or more actions. | ||||||||||||||
Array
| |||||||||||||||
name required | string Name of the draft. | ||||||||||||||
baseVersion required | integer >= 0 Ruleset version on which the draft ruleset is based.
Generally, a draft ruleset is cloned from an existing ruleset.
Use this field to determine if the active ruleset changed since the draft creation.
| ||||||||||||||
Array of objects (Bind) Binds always execute, regardless of rule based events. A rule is a configuration of an event and one or more actions. | |||||||||||||||
Array
| |||||||||||||||
description | string Detailed description of the drafted ruleset. |
Draft ruleset updated.
required | Array of objects (Rule) Rule can be configured to stop subsequent rules in the event list from being executed. A rule is a configuration of an event and one or more actions. | ||||||||||||||
Array
| |||||||||||||||
name required | string Name of the draft. | ||||||||||||||
baseVersion required | integer >= 0 Ruleset version on which the draft ruleset is based.
Generally, a draft ruleset is cloned from an existing ruleset.
Use this field to determine if the active ruleset changed since the draft creation.
| ||||||||||||||
id | string <= 50 characters Unique resource ID. Defaults to UUID v4. | ||||||||||||||
Array of objects (Bind) Binds always execute, regardless of rule based events. A rule is a configuration of an event and one or more actions. | |||||||||||||||
Array
| |||||||||||||||
object Author of the draft. | |||||||||||||||
description | string Detailed description of the drafted ruleset. | ||||||||||||||
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. | ||||||||||||||
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. | ||||||||||||||
Array of objects Related links. | |||||||||||||||
Draft ruleset created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
required | Array of objects (Rule) Rule can be configured to stop subsequent rules in the event list from being executed. A rule is a configuration of an event and one or more actions. | ||||||||||||||
Array
| |||||||||||||||
name required | string Name of the draft. | ||||||||||||||
baseVersion required | integer >= 0 Ruleset version on which the draft ruleset is based.
Generally, a draft ruleset is cloned from an existing ruleset.
Use this field to determine if the active ruleset changed since the draft creation.
| ||||||||||||||
id | string <= 50 characters Unique resource ID. Defaults to UUID v4. | ||||||||||||||
Array of objects (Bind) Binds always execute, regardless of rule based events. A rule is a configuration of an event and one or more actions. | |||||||||||||||
Array
| |||||||||||||||
object Author of the draft. | |||||||||||||||
description | string Detailed description of the drafted ruleset. | ||||||||||||||
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. | ||||||||||||||
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. | ||||||||||||||
Array of objects Related links. | |||||||||||||||
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
Invalid data sent.
{- "baseVersion": 0,
- "binds": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "labels": [
- "test-rule",
- "category:foo"
], - "status": "active",
- "filter": "string",
- "actions": [
- {
- "name": "add-risk-score",
- "status": "active"
}
]
}
], - "rules": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "labels": [
- "test-rule",
- "category:foo"
], - "status": "active",
- "filter": "string",
- "actions": [
- {
- "name": "add-risk-score",
- "status": "active"
}
], - "final": true
}
], - "name": "string",
- "description": "string"
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "baseVersion": 0,
- "binds": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "labels": [
- "test-rule",
- "category:foo"
], - "status": "active",
- "filter": "string",
- "actions": [
- {
- "name": "add-risk-score",
- "status": "active"
}
]
}
], - "rules": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "labels": [
- "test-rule",
- "category:foo"
], - "status": "active",
- "filter": "string",
- "actions": [
- {
- "name": "add-risk-score",
- "status": "active"
}
], - "final": true
}
], - "author": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string"
}, - "name": "string",
- "description": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}