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": "00a33b68-b1d7-431a-9855-9b419cd8e0b5",
"type": "form_field_options",
"attributes": {
"form_field_id": "01114626-9334-40cd-88ce-a70df699e88a",
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-07-23T05:27:39.309-07:00",
"created_at": "2025-07-23T05:27:38.171-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "01114626-9334-40cd-88ce-a70df699e88a",
"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": "00a33b68-b1d7-431a-9855-9b419cd8e0b5",
"type": "form_field_options",
"attributes": {
"form_field_id": "01114626-9334-40cd-88ce-a70df699e88a",
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-07-23T05:27:39.309-07:00",
"created_at": "2025-07-23T05:27:38.171-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "01114626-9334-40cd-88ce-a70df699e88a",
"type": "form_fields"
}
}
}
}
}