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
      ],
      "selected_environment_ids": [
        "<string>"
      ],
      "selected_cause_ids": [
        "<string>"
      ],
      "selected_incident_type_ids": [
        "<string>"
      ]
    }
  }
}
'
{
  "data": {
    "id": "046a3ff0-17c5-44fa-8ff4-529daaa726ed",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "3d400338-e4e6-441f-9fd0-f9431bcf997b",
      "custom_field_id": 182,
      "form_field_id": "66e8b7d2-c94c-4d64-9117-f46ded606fe0",
      "form_field": {
        "id": "66e8b7d2-c94c-4d64-9117-f46ded606fe0",
        "team_id": 384,
        "slug": "praesentium-et-et-ratione",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Praesentium et et ratione.",
        "description": "Fugiat est debitis facere.",
        "shown": [
          "web_new_incident_form",
          "web_update_incident_form"
        ],
        "required": [],
        "default_values": [],
        "show_on_incident_details": true,
        "enabled": true,
        "updated_at": "2026-02-20T17:58:22.423-08:00",
        "created_at": "2026-02-20T17:58:22.423-08:00",
        "options": [
          {
            "id": "9b95faae-fa07-4fef-adc8-b8d001400656",
            "form_field_id": "66e8b7d2-c94c-4d64-9117-f46ded606fe0",
            "value": "Reprehenderit magni vel fugit.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2026-02-20T17:58:22.441-08:00",
            "created_at": "2026-02-20T17:58:22.441-08:00"
          },
          {
            "id": "85670d1a-4c31-4a80-b103-a444cb4531be",
            "form_field_id": "66e8b7d2-c94c-4d64-9117-f46ded606fe0",
            "value": "Sit cumque veniam laboriosam.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2026-02-20T17:58:22.443-08:00",
            "created_at": "2026-02-20T17:58:22.443-08:00"
          }
        ],
        "positions": [
          {
            "id": "9ce63e46-6b63-4d51-bb48-73aceebcea1c",
            "form_field_id": "66e8b7d2-c94c-4d64-9117-f46ded606fe0",
            "form": "web_update_incident_form",
            "position": 1
          },
          {
            "id": "aafe1a15-b16b-4c67-a3b8-f2b143ce0bf3",
            "form_field_id": "66e8b7d2-c94c-4d64-9117-f46ded606fe0",
            "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"
      },
      "selected_environment_ids": [],
      "selected_environments": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_cause_ids": [],
      "selected_causes": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_incident_type_ids": [],
      "selected_incident_types": {
        "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