Skip to main content
PUT
/
v1
/
incident_form_field_selections
/
{id}
Update an incident form field selection
curl --request PUT \
  --url https://api.rootly.com/v1/incident_form_field_selections/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '
{
  "data": {
    "type": "incident_form_field_selections",
    "attributes": {
      "value": "<string>",
      "selected_catalog_entity_ids": [
        "<string>"
      ],
      "selected_group_ids": [
        "<string>"
      ],
      "selected_option_ids": [
        "<string>"
      ],
      "selected_service_ids": [
        "<string>"
      ],
      "selected_functionality_ids": [
        "<string>"
      ],
      "selected_user_ids": [
        123
      ]
    }
  }
}
'
{
  "data": {
    "id": "1ca375fc-4413-44ac-bbfe-d84c1c8a1c6d",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "78115ed1-d0da-41f2-8a02-7c9de2ae28f9",
      "custom_field_id": 179,
      "form_field_id": "bbf51adc-b7ff-492d-9434-9cbacad6b309",
      "form_field": {
        "id": "bbf51adc-b7ff-492d-9434-9cbacad6b309",
        "team_id": 309,
        "slug": "non-et-fuga-occaecati",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Non et fuga occaecati.",
        "description": "Quo illum voluptate iste.",
        "shown": [
          "web_new_incident_form",
          "web_update_incident_form"
        ],
        "required": [],
        "default_values": [],
        "show_on_incident_details": true,
        "enabled": true,
        "updated_at": "2026-02-02T20:39:39.800-08:00",
        "created_at": "2026-02-02T20:39:39.800-08:00",
        "options": [
          {
            "id": "ca8edc5b-08f9-4cc2-ba9d-fe0be650a549",
            "form_field_id": "bbf51adc-b7ff-492d-9434-9cbacad6b309",
            "value": "Sit quia eaque nam.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2026-02-02T20:39:39.820-08:00",
            "created_at": "2026-02-02T20:39:39.819-08:00"
          },
          {
            "id": "a14ec92d-e51b-4ab8-a7c0-889d62fb33cd",
            "form_field_id": "bbf51adc-b7ff-492d-9434-9cbacad6b309",
            "value": "Ut ea officia qui.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2026-02-02T20:39:39.822-08:00",
            "created_at": "2026-02-02T20:39:39.822-08:00"
          }
        ],
        "positions": [
          {
            "id": "68078e8d-a11e-47df-abea-e3205d0180d8",
            "form_field_id": "bbf51adc-b7ff-492d-9434-9cbacad6b309",
            "form": "web_update_incident_form",
            "position": 1
          },
          {
            "id": "6a02290e-0ef6-4990-acac-5293497bbbe6",
            "form_field_id": "bbf51adc-b7ff-492d-9434-9cbacad6b309",
            "form": "web_new_incident_form",
            "position": 1
          }
        ]
      },
      "value": "Test update custom field",
      "selected_group_ids": [],
      "selected_groups": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_option_ids": [],
      "selected_options": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_service_ids": [],
      "selected_services": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_functionality_ids": [],
      "selected_functionalities": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_catalog_entity_ids": [],
      "selected_catalog_entities": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_user_ids": [],
      "selected_users": {
        "id": null,
        "value": "Test update custom field"
      }
    }
  }
}

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

incident_form_field_selection updated

data
object
required