POST
/
v1
/
form_sets
/
{form_set_id}
/
conditions
curl --request POST \
  --url https://api.rootly.com/v1/form_sets/{form_set_id}/conditions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "form_set_conditions",
    "attributes": {
      "form_field_id": "<string>",
      "comparison": "equal",
      "values": [
        "<string>"
      ]
    }
  }
}'
{
  "data": {
    "id": "94d54cb4-863b-4f29-8ace-5e0a00d754fa",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "135be689-9b78-4568-94ac-79a7fdd7ed5f",
      "form_field_id": "425ec4a2-910d-4db0-8563-bd6f29ba513f",
      "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

Response

201
application/vnd.api+json
form_set_condition created

The response is of type object.