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": "2b11f4df-cf77-40c5-bf09-4f7809b3337e",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "185ff8f5-ff45-4c76-ae0d-3c46f4dc4d25",
"form_field_id": "57156dd3-5ff9-483e-bc4d-6278272bc1e7",
"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": "2b11f4df-cf77-40c5-bf09-4f7809b3337e",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "185ff8f5-ff45-4c76-ae0d-3c46f4dc4d25",
"form_field_id": "57156dd3-5ff9-483e-bc4d-6278272bc1e7",
"comparison": "equal",
"values": [
"test update"
]
}
}
}