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": "9b126b6e-6b5d-442a-b608-ac7dbf7e5e51",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "2082a0b1-ffb8-45a1-bb7d-743c0b433692",
"form_field_id": "5456ce72-b0dd-4f37-b0b5-2a2de01f8226",
"comparison": "equal",
"values": [
"test update"
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
form_set_conditions form_set_condition updated
Show child attributes
Unique ID of the form set condition
form_set_conditions Show child attributes
The form set this condition applies.
The form field this condition applies.
The condition comparison.
equal The values for comparison.
The value for comparison.
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": "9b126b6e-6b5d-442a-b608-ac7dbf7e5e51",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "2082a0b1-ffb8-45a1-bb7d-743c0b433692",
"form_field_id": "5456ce72-b0dd-4f37-b0b5-2a2de01f8226",
"comparison": "equal",
"values": [
"test update"
]
}
}
}