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": "03188f90-36cc-408d-b16e-8c621e3c2e1d",
    "type": "form_field_placement_conditions",
    "attributes": {
      "form_field_placement_id": "fbf61e45-6acd-4050-9e96-767b29a76a85",
      "conditioned": "placement",
      "position": 1,
      "form_field_id": "8039d27a-d82c-4b3c-8837-818b210802fe",
      "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.