PUT
/
v1
/
form_field_placement_conditions
/
{id}
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": "1dedb6bc-44dd-4d03-8c79-b4e52b6d12e9",
    "type": "form_field_placement_conditions",
    "attributes": {
      "form_field_placement_id": "6ae16fd7-c9ba-4531-aa5b-1d34da30f927",
      "conditioned": "placement",
      "position": 1,
      "form_field_id": "9eca155c-8c50-4561-9903-b8a0733812b4",
      "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.