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": "08c0ad90-cfaf-490a-a6d4-ef49b854f0f1",
    "type": "form_field_placement_conditions",
    "attributes": {
      "form_field_placement_id": "8ebd4786-2002-4418-8563-6c112803b769",
      "conditioned": "placement",
      "position": 1,
      "form_field_id": "cba68937-dc23-42da-acc6-048ed41512b3",
      "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

form_field_placement_condition updated

The response is of type object.