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": "32704483-7998-40a2-b581-09384e9f3bbd",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "8b261f40-1e1e-4deb-ad25-596dc8b09410",
"conditioned": "placement",
"position": 1,
"form_field_id": "a4f4c6ce-bcc2-4c24-8cb4-a8b7cafc386c",
"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": "32704483-7998-40a2-b581-09384e9f3bbd",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "8b261f40-1e1e-4deb-ad25-596dc8b09410",
"conditioned": "placement",
"position": 1,
"form_field_id": "a4f4c6ce-bcc2-4c24-8cb4-a8b7cafc386c",
"comparison": "equal",
"values": [
"bar"
]
}
}
}