PUT
/
v1
/
form_set_conditions
/
{id}
Update a Form Set Condition
curl --request PUT \
  --url https://api.rootly.com/v1/form_set_conditions/{id} \
  --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": "2b11f4df-cf77-40c5-bf09-4f7809b3337e",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "185ff8f5-ff45-4c76-ae0d-3c46f4dc4d25",
      "form_field_id": "57156dd3-5ff9-483e-bc4d-6278272bc1e7",
      "comparison": "equal",
      "values": [
        "test update"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/vnd.api+json

Response

200
application/vnd.api+json

form_set_condition updated

The response is of type object.