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": "10a2fc4a-f357-4f94-b9ec-54202a28fe4f",
"type": "form_field_options",
"attributes": {
"form_field_id": "92949c2c-4b46-47f4-b6ea-301596c447b5",
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-09-03T02:20:08.901-07:00",
"created_at": "2025-09-03T02:20:08.045-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "92949c2c-4b46-47f4-b6ea-301596c447b5",
"type": "form_fields"
}
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
form_field_option updated
The response is of type object
.
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": "10a2fc4a-f357-4f94-b9ec-54202a28fe4f",
"type": "form_field_options",
"attributes": {
"form_field_id": "92949c2c-4b46-47f4-b6ea-301596c447b5",
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-09-03T02:20:08.901-07:00",
"created_at": "2025-09-03T02:20:08.045-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "92949c2c-4b46-47f4-b6ea-301596c447b5",
"type": "form_fields"
}
}
}
}
}