PUT
/
v1
/
custom_field_options
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/custom_field_options/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "custom_field_options",
    "attributes": {
      "value": "<string>",
      "color": "<string>",
      "default": true,
      "position": 123
    }
  }
}'
{
  "data": {
    "id": "1",
    "type": "custom_field_options",
    "attributes": {
      "custom_field_id": 1,
      "value": "Test update option value",
      "color": "#FBE4A0",
      "default": false,
      "position": 1,
      "updated_at": "2025-03-31T06:00:20.678-07:00",
      "created_at": "2025-03-31T06:00:19.373-07:00"
    }
  }
}

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
data
object
required

Response

200
application/vnd.api+json
custom_field_option updated
data
object
required

Was this page helpful?