POST
/
v1
/
form_sets
/
{form_set_id}
/
conditions
curl --request POST \
  --url https://api.rootly.com/v1/form_sets/%7Bform_set_id%7D/conditions \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "2aa21008-4986-464a-a17c-9c5cd0301de5",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "2c528ce5-b785-4340-acb5-86a672e1ef80",
      "form_field_id": "048b4f86-260f-4b0b-994e-5737a71954a6",
      "comparison": "equal",
      "values": [
        "test"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

form_set_id
string
required

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
form_set_condition created
data
object
required