Save a request rule

Saves a request rule.

Request
Request Body schema: application/json
label
string
object
requirements_script
string
action_script
string
script_type
string
graph_state
string
editing_mode
string
Responses
200

OK

201

Created

400

Bad Request

put/v3/request-rules
Request samples
application/json
{
  • "label": "Test",
  • "conditions": {
    },
  • "requirements_script": "return []",
  • "action_script": "return \"this is a test\"",
  • "script_type": "javascript",
  • "graph_state": "{\"property1\": \"value1\"}",
  • "editing_mode": "manual"
}