Update a specific incident form field selection by id
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": "907331e5-26c5-4f26-ba33-515e7a92ef2a",
"type": "incident_form_field_selections",
"attributes": {
"incident_id": "81e3428f-8baf-4f11-a516-51549c253b6c",
"custom_field_id": 175,
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form_field": {
"id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"team_id": 186,
"slug": "cum-id-reprehenderit-recusandae",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Cum id reprehenderit recusandae.",
"description": "Eligendi asperiores ad quas.",
"shown": [
"web_new_incident_form",
"web_update_incident_form",
"slack_new_incident_form",
"slack_update_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2025-07-17T11:03:33.084-07:00",
"created_at": "2025-07-17T11:03:33.084-07:00",
"options": [
{
"id": "f8743909-8258-4a77-81c6-81aee3234338",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"value": "Dolor quia quibusdam quidem.",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-07-17T11:03:33.132-07:00",
"created_at": "2025-07-17T11:03:33.132-07:00"
},
{
"id": "74bd992b-4f7e-4704-b4ec-3598a077ded3",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"value": "Ipsam quis vitae et.",
"color": "#FBE4A0",
"default": false,
"position": 2,
"updated_at": "2025-07-17T11:03:33.134-07:00",
"created_at": "2025-07-17T11:03:33.134-07:00"
}
],
"positions": [
{
"id": "20e16974-b1eb-4d7a-8f49-1b3a171bb258",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form": "web_new_incident_form",
"position": 1
},
{
"id": "517d3471-208e-422a-86bc-4e26b7070365",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form": "slack_new_incident_form",
"position": 1
},
{
"id": "7eeb9bb3-2bda-492e-9ad4-89f0ec9ea933",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form": "web_update_incident_form",
"position": 1
},
{
"id": "a6fa1c8b-9c21-487a-b0a4-31e715869142",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form": "slack_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"
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_form_field_selection updated
The response is of type object
.
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": "907331e5-26c5-4f26-ba33-515e7a92ef2a",
"type": "incident_form_field_selections",
"attributes": {
"incident_id": "81e3428f-8baf-4f11-a516-51549c253b6c",
"custom_field_id": 175,
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form_field": {
"id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"team_id": 186,
"slug": "cum-id-reprehenderit-recusandae",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Cum id reprehenderit recusandae.",
"description": "Eligendi asperiores ad quas.",
"shown": [
"web_new_incident_form",
"web_update_incident_form",
"slack_new_incident_form",
"slack_update_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2025-07-17T11:03:33.084-07:00",
"created_at": "2025-07-17T11:03:33.084-07:00",
"options": [
{
"id": "f8743909-8258-4a77-81c6-81aee3234338",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"value": "Dolor quia quibusdam quidem.",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-07-17T11:03:33.132-07:00",
"created_at": "2025-07-17T11:03:33.132-07:00"
},
{
"id": "74bd992b-4f7e-4704-b4ec-3598a077ded3",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"value": "Ipsam quis vitae et.",
"color": "#FBE4A0",
"default": false,
"position": 2,
"updated_at": "2025-07-17T11:03:33.134-07:00",
"created_at": "2025-07-17T11:03:33.134-07:00"
}
],
"positions": [
{
"id": "20e16974-b1eb-4d7a-8f49-1b3a171bb258",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form": "web_new_incident_form",
"position": 1
},
{
"id": "517d3471-208e-422a-86bc-4e26b7070365",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form": "slack_new_incident_form",
"position": 1
},
{
"id": "7eeb9bb3-2bda-492e-9ad4-89f0ec9ea933",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form": "web_update_incident_form",
"position": 1
},
{
"id": "a6fa1c8b-9c21-487a-b0a4-31e715869142",
"form_field_id": "f2cedc2e-a6b4-4942-8802-19ad9d1f66a0",
"form": "slack_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"
}
}
}
}