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": "06d8b88a-196e-40fc-b158-a58c878ef6a0",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "593dc26c-18e7-4fe4-8cde-19f0b9c4aca0",
"form_field_id": "edd1cbcc-7afc-41c3-bcef-492cdb094633",
"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": "06d8b88a-196e-40fc-b158-a58c878ef6a0",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "593dc26c-18e7-4fe4-8cde-19f0b9c4aca0",
"form_field_id": "edd1cbcc-7afc-41c3-bcef-492cdb094633",
"comparison": "equal",
"values": [
"test update"
]
}
}
}