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": "1e980510-c2f7-4a1e-8611-3dcd4ff040a9",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "e2046d86-ad3c-4429-ae1f-8644f61d79c9",
      "form_field_id": "5e4f8e8c-4ee9-4a10-a16c-eaa40ba6b27c",
      "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.