Update a specific form_set_condition by id
curl --request PUT \
--url https://api.rootly.com/v1/form_set_conditions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_set_conditions",
"attributes": {
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
]
}
}
}'
{
"data": {
"id": "1e980510-c2f7-4a1e-8611-3dcd4ff040a9",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "e2046d86-ad3c-4429-ae1f-8644f61d79c9",
"form_field_id": "5e4f8e8c-4ee9-4a10-a16c-eaa40ba6b27c",
"comparison": "equal",
"values": [
"test update"
]
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
form_set_condition updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/form_set_conditions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_set_conditions",
"attributes": {
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
]
}
}
}'
{
"data": {
"id": "1e980510-c2f7-4a1e-8611-3dcd4ff040a9",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "e2046d86-ad3c-4429-ae1f-8644f61d79c9",
"form_field_id": "5e4f8e8c-4ee9-4a10-a16c-eaa40ba6b27c",
"comparison": "equal",
"values": [
"test update"
]
}
}
}