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": "a93b0045-6715-4500-ab72-d1ee472bcee9",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "eef4c491-b9eb-4433-8b31-aa2242037dff",
      "custom_field_id": 176,
      "form_field_id": "51a59e9e-c0fd-4700-bba7-0493a43671d7",
      "form_field": {
        "id": "51a59e9e-c0fd-4700-bba7-0493a43671d7",
        "team_id": 195,
        "slug": "animi-inventore-soluta-consequatur",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Animi inventore soluta consequatur.",
        "description": "Sunt architecto nisi voluptatem.",
        "shown": [
          "web_new_incident_form",
          "web_update_incident_form"
        ],
        "required": [],
        "default_values": [],
        "show_on_incident_details": true,
        "enabled": true,
        "updated_at": "2025-10-07T10:08:36.956-07:00",
        "created_at": "2025-10-07T10:08:36.956-07:00",
        "options": [
          {
            "id": "dfd6fa10-c72f-4a41-b85e-da76a9a2edc3",
            "form_field_id": "51a59e9e-c0fd-4700-bba7-0493a43671d7",
            "value": "Earum autem dolores doloremque.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2025-10-07T10:08:36.992-07:00",
            "created_at": "2025-10-07T10:08:36.992-07:00"
          },
          {
            "id": "db982757-0d97-4610-be4e-c153656d2154",
            "form_field_id": "51a59e9e-c0fd-4700-bba7-0493a43671d7",
            "value": "Quis saepe qui et.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2025-10-07T10:08:36.999-07:00",
            "created_at": "2025-10-07T10:08:36.999-07:00"
          }
        ],
        "positions": [
          {
            "id": "88de213c-9e2f-44cd-bac1-09851d429fbe",
            "form_field_id": "51a59e9e-c0fd-4700-bba7-0493a43671d7",
            "form": "web_update_incident_form",
            "position": 1
          },
          {
            "id": "840e2b08-0e4a-4418-b923-e6a8d942f0db",
            "form_field_id": "51a59e9e-c0fd-4700-bba7-0493a43671d7",
            "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
I