PUT
/
v1
/
form_field_options
/
{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": "51ff17bd-c751-4bcd-8c79-cdb5a20e7005",
    "type": "form_field_options",
    "attributes": {
      "form_field_id": "486bb804-6c1a-4d84-91d2-724091755941",
      "value": "Test update option value",
      "color": "#FBE4A0",
      "default": false,
      "position": 1,
      "updated_at": "2025-06-19T02:39:15.318-07:00",
      "created_at": "2025-06-19T02:39:14.077-07:00"
    },
    "relationships": {
      "form_field": {
        "data": {
          "id": "486bb804-6c1a-4d84-91d2-724091755941",
          "type": "form_fields"
        }
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json

Response

200
application/vnd.api+json

form_field_option updated

The response is of type object.