Skip to main content
POST
/
v1
/
form_sets
/
{form_set_id}
/
conditions
Creates a Form Set Condition
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": "0befb9f9-e681-4bfe-b947-17dbb4b7c179",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "0677f5fe-3c7c-40f9-b9b7-786c34a636e0",
      "form_field_id": "701bad41-0079-40aa-a289-6c2889fc5033",
      "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

form_set_condition created

data
object
required