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": "676450ad-be97-42e3-8b8c-0b361b87cf14",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "dd66a3eb-2f76-4704-9aee-09fb46f6ff6a",
      "custom_field_id": 182,
      "form_field_id": "60eb1a62-1cf6-436e-b755-54690b713434",
      "form_field": {
        "id": "60eb1a62-1cf6-436e-b755-54690b713434",
        "team_id": 380,
        "slug": "quae-est-in-eum",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Quae est in eum.",
        "description": "Aspernatur optio soluta ducimus.",
        "shown": [
          "web_new_incident_form",
          "web_update_incident_form"
        ],
        "required": [],
        "default_values": [],
        "show_on_incident_details": true,
        "enabled": true,
        "updated_at": "2026-02-18T09:10:01.599-08:00",
        "created_at": "2026-02-18T09:10:01.599-08:00",
        "options": [
          {
            "id": "fa948fe3-c5a2-406f-a957-cb62d6920ca4",
            "form_field_id": "60eb1a62-1cf6-436e-b755-54690b713434",
            "value": "Enim magnam et aut.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2026-02-18T09:10:01.620-08:00",
            "created_at": "2026-02-18T09:10:01.619-08:00"
          },
          {
            "id": "e07b104f-7760-44b3-b265-0db5caa7c3e0",
            "form_field_id": "60eb1a62-1cf6-436e-b755-54690b713434",
            "value": "Consequatur maiores qui culpa.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2026-02-18T09:10:01.622-08:00",
            "created_at": "2026-02-18T09:10:01.622-08:00"
          }
        ],
        "positions": [
          {
            "id": "6a446f1d-517b-4c5d-9bf0-7aa61ba63426",
            "form_field_id": "60eb1a62-1cf6-436e-b755-54690b713434",
            "form": "web_update_incident_form",
            "position": 1
          },
          {
            "id": "7bcc0588-4b85-49bc-a448-2f44176a4adc",
            "form_field_id": "60eb1a62-1cf6-436e-b755-54690b713434",
            "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