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": "f7694a1d-a4ae-49aa-a8c7-27d4e1353573",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "a8f796ec-f7a4-4dbb-affc-fb26163641ce",
      "custom_field_id": 176,
      "form_field_id": "6a7d7832-7d7f-48a1-89ab-3b0414666c37",
      "form_field": {
        "id": "6a7d7832-7d7f-48a1-89ab-3b0414666c37",
        "team_id": 261,
        "slug": "sit-accusamus-quaerat-aut",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Sit accusamus quaerat aut.",
        "description": "Omnis facilis fuga numquam.",
        "shown": [
          "web_new_incident_form",
          "web_update_incident_form"
        ],
        "required": [],
        "default_values": [],
        "show_on_incident_details": true,
        "enabled": true,
        "updated_at": "2025-12-15T22:23:29.670-08:00",
        "created_at": "2025-12-15T22:23:29.670-08:00",
        "options": [
          {
            "id": "209bcf00-ca50-442d-b129-7152dad2385f",
            "form_field_id": "6a7d7832-7d7f-48a1-89ab-3b0414666c37",
            "value": "Voluptas provident autem vel.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2025-12-15T22:23:29.689-08:00",
            "created_at": "2025-12-15T22:23:29.689-08:00"
          },
          {
            "id": "8c46cc1c-5572-43ca-8919-7b61659b63a1",
            "form_field_id": "6a7d7832-7d7f-48a1-89ab-3b0414666c37",
            "value": "Dolore vel consequatur rerum.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2025-12-15T22:23:29.692-08:00",
            "created_at": "2025-12-15T22:23:29.692-08:00"
          }
        ],
        "positions": [
          {
            "id": "fc27843b-7b53-4880-8862-9e840d1806c6",
            "form_field_id": "6a7d7832-7d7f-48a1-89ab-3b0414666c37",
            "form": "web_new_incident_form",
            "position": 1
          },
          {
            "id": "6a0984f1-2d09-4962-b52e-1c41fb70a691",
            "form_field_id": "6a7d7832-7d7f-48a1-89ab-3b0414666c37",
            "form": "web_update_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