Update a specific form_field_option by id
curl --request PUT \
--url https://api.rootly.com/v1/form_field_options/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "form_field_options",
"attributes": {
"value": "<string>",
"color": "<string>",
"default": true,
"position": 123
}
}
}
'{
"data": {
"id": "77226d06-641c-4937-8b23-bb0c51774a2d",
"type": "form_field_options",
"attributes": {
"form_field_id": "1fd6823b-7840-4f56-8b58-179b1a4419c5",
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2026-02-21T14:30:34.289-08:00",
"created_at": "2026-02-21T14:30:33.672-08:00"
},
"relationships": {
"form_field": {
"data": {
"id": "1fd6823b-7840-4f56-8b58-179b1a4419c5",
"type": "form_fields"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
form_field_option updated
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/form_field_options/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "form_field_options",
"attributes": {
"value": "<string>",
"color": "<string>",
"default": true,
"position": 123
}
}
}
'{
"data": {
"id": "77226d06-641c-4937-8b23-bb0c51774a2d",
"type": "form_field_options",
"attributes": {
"form_field_id": "1fd6823b-7840-4f56-8b58-179b1a4419c5",
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2026-02-21T14:30:34.289-08:00",
"created_at": "2026-02-21T14:30:33.672-08:00"
},
"relationships": {
"form_field": {
"data": {
"id": "1fd6823b-7840-4f56-8b58-179b1a4419c5",
"type": "form_fields"
}
}
}
}
}