PUT
/
v1
/
form_field_placement_conditions
/
{id}
Update a Form Set Condition
curl --request PUT \
  --url https://api.rootly.com/v1/form_field_placement_conditions/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "form_field_placement_conditions",
    "attributes": {
      "conditioned": "placement",
      "position": 123,
      "form_field_id": "<string>",
      "comparison": "equal",
      "values": [
        "<string>"
      ]
    }
  }
}'
{
  "data": {
    "id": "f87c2ed1-c002-4f63-8bb1-6e4bc9fb0445",
    "type": "form_field_placement_conditions",
    "attributes": {
      "form_field_placement_id": "eeef17f8-ff25-4709-b310-9387ecfae06c",
      "conditioned": "placement",
      "position": 1,
      "form_field_id": "07f7f10c-4495-4b65-a9b2-30f3f14523c1",
      "comparison": "equal",
      "values": [
        "bar"
      ]
    }
  }
}

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_field_placement_condition updated

The response is of type object.