Update a specific form_field_placement_condition by 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": "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"
]
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
form_field_placement_condition updated
The response is of type object
.
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"
]
}
}
}