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": "f05f230f-c9ac-4884-b41b-da60291e2f21",
"type": "form_field_options",
"attributes": {
"form_field_id": "16e1faa3-251e-45a8-8f21-0c1859930820",
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-08-12T16:33:32.398-07:00",
"created_at": "2025-08-12T16:33:31.427-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "16e1faa3-251e-45a8-8f21-0c1859930820",
"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": "f05f230f-c9ac-4884-b41b-da60291e2f21",
"type": "form_field_options",
"attributes": {
"form_field_id": "16e1faa3-251e-45a8-8f21-0c1859930820",
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-08-12T16:33:32.398-07:00",
"created_at": "2025-08-12T16:33:31.427-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "16e1faa3-251e-45a8-8f21-0c1859930820",
"type": "form_fields"
}
}
}
}
}