Skip to main content
PUT
/
v1
/
incidents
/
{id}
/
mitigate
Mitigate an incident
curl --request PUT \
  --url https://api.rootly.com/v1/incidents/{id}/mitigate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incidents",
    "attributes": {
      "mitigation_message": "<string>"
    }
  }
}'
{
  "data": {
    "id": "3011669b-a5b1-4222-a757-531ebf5aa40d",
    "type": "incidents",
    "attributes": {
      "parent_incident_id": null,
      "sequential_id": 1,
      "title": "Quia beatae incidunt cum.",
      "slug": "quia-beatae-incidunt-cum",
      "kind": "normal",
      "private": false,
      "summary": "Quasi fugit itaque. Qui quidem quis. Ipsa laudantium et.",
      "status": "mitigated",
      "source": "web",
      "url": "http://localhost:3001/account/incidents/1-quia-beatae-incidunt-cum",
      "short_url": null,
      "user": {
        "data": {
          "id": "353",
          "type": "users",
          "attributes": {
            "name": "Napoleon Kris",
            "email": "[email protected]",
            "phone": null,
            "phone_2": null,
            "first_name": "Napoleon",
            "last_name": "Kris",
            "full_name": "Napoleon Kris",
            "full_name_with_team": "[Lemke-Roob] Napoleon Kris",
            "slack_id": null,
            "time_zone": "Etc/UTC",
            "updated_at": "2025-11-28T18:11:24.974-08:00",
            "created_at": "2025-11-28T18:11:24.543-08:00"
          },
          "relationships": {
            "email_addresses": {
              "data": [
                {
                  "id": "791bcb5d-45e4-402b-9ef6-ae604a44b067",
                  "type": "user_email_addresses"
                }
              ]
            },
            "phone_numbers": {
              "data": []
            },
            "devices": {
              "data": []
            },
            "role": {
              "data": {
                "id": "9c9a7853-00be-4862-b282-7012a928fdf1",
                "alerts_permissions": [
                  "create",
                  "read"
                ],
                "api_keys_permissions": [
                  "create",
                  "update",
                  "read",
                  "delete"
                ],
                "audits_permissions": [],
                "billing_permissions": [],
                "catalogs_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "communication_permissions": [
                  "read"
                ],
                "created_at": "2025-11-28T18:11:23.787-08:00",
                "deleted_at": null,
                "display_order": 2,
                "environments_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "form_fields_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "functionalities_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "groups_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incident_causes_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incident_communication_permissions": [
                  "read"
                ],
                "incident_feedbacks_permissions": [
                  "read",
                  "create",
                  "update"
                ],
                "incident_permission_set_id": "5d8fb954-b46c-4099-bcff-315697c7287f",
                "incident_roles_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incident_types_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incidents_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "integrations_permissions": [],
                "invitations_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "is_deletable": false,
                "is_editable": true,
                "name": "user",
                "paging_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "playbooks_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "private_incidents_permissions": [],
                "pulses_permissions": [
                  "create",
                  "update",
                  "read"
                ],
                "retrospective_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "roles_permissions": [],
                "secrets_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "services_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "severities_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "slug": "user",
                "status_pages_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "sub_statuses_permissions": [
                  "read"
                ],
                "team_id": 334,
                "updated_at": "2025-11-28T18:11:23.787-08:00",
                "webhooks_permissions": [],
                "workflows_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ]
              }
            },
            "on_call_role": {
              "data": {
                "id": "4134144c-2b9e-47bb-9f6a-e23a20ddcf1f",
                "alert_fields_permissions": [],
                "alert_groups_permissions": [],
                "alert_routing_rules_permissions": [],
                "alert_sources_permissions": [],
                "alert_urgency_permissions": [],
                "alerts_permissions": [],
                "api_keys_permissions": [],
                "audits_permissions": [],
                "contacts_permissions": [],
                "created_at": "2025-11-28T18:11:23.808-08:00",
                "deleted_at": null,
                "escalation_policies_permissions": [],
                "groups_permissions": [],
                "heartbeats_permissions": [],
                "integrations_permissions": [],
                "invitations_permissions": [],
                "live_call_routing_permissions": [],
                "name": "None",
                "on_call_readiness_report_permissions": [],
                "on_call_roles_permissions": [],
                "schedule_override_permissions": [],
                "schedules_permissions": [],
                "services_permissions": [],
                "shift_overrides_permissions": [],
                "slug": "none",
                "system_role": "no_access",
                "team_id": 334,
                "updated_at": "2025-11-28T18:11:23.808-08:00",
                "webhooks_permissions": [],
                "workflows_permissions": []
              }
            },
            "teams": {
              "data": []
            },
            "schedules": {
              "data": []
            },
            "notification_rules": {
              "data": [
                {
                  "id": "abe743b1-4e98-4c02-bf75-e475564490c2",
                  "type": "user_notification_rules"
                },
                {
                  "id": "ccdabbf8-3827-4bc0-83db-13559b376652",
                  "type": "user_notification_rules"
                }
              ]
            }
          }
        }
      },
      "severity": {
        "data": {
          "id": "eb610b90-bf5c-4552-9168-ad4e3ff6a9df",
          "type": "severities",
          "attributes": {
            "name": "unbob",
            "slug": "unbob",
            "description": "Ea perspiciatis dolor consectetur.",
            "severity": "medium",
            "color": "#E58A1F",
            "position": 1,
            "notify_emails": [],
            "slack_channels": [],
            "slack_aliases": [],
            "created_at": "2025-11-28T18:11:24.937-08:00",
            "updated_at": "2025-11-28T18:11:24.937-08:00"
          }
        }
      },
      "in_triage_by": null,
      "started_by": {
        "data": {
          "id": "353",
          "type": "users",
          "attributes": {
            "name": "Napoleon Kris",
            "email": "[email protected]",
            "phone": null,
            "phone_2": null,
            "first_name": "Napoleon",
            "last_name": "Kris",
            "full_name": "Napoleon Kris",
            "full_name_with_team": "[Lemke-Roob] Napoleon Kris",
            "slack_id": null,
            "time_zone": "Etc/UTC",
            "updated_at": "2025-11-28T18:11:24.974-08:00",
            "created_at": "2025-11-28T18:11:24.543-08:00"
          },
          "relationships": {
            "email_addresses": {
              "data": [
                {
                  "id": "791bcb5d-45e4-402b-9ef6-ae604a44b067",
                  "type": "user_email_addresses"
                }
              ]
            },
            "phone_numbers": {
              "data": []
            },
            "devices": {
              "data": []
            },
            "role": {
              "data": {
                "id": "9c9a7853-00be-4862-b282-7012a928fdf1",
                "alerts_permissions": [
                  "create",
                  "read"
                ],
                "api_keys_permissions": [
                  "create",
                  "update",
                  "read",
                  "delete"
                ],
                "audits_permissions": [],
                "billing_permissions": [],
                "catalogs_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "communication_permissions": [
                  "read"
                ],
                "created_at": "2025-11-28T18:11:23.787-08:00",
                "deleted_at": null,
                "display_order": 2,
                "environments_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "form_fields_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "functionalities_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "groups_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incident_causes_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incident_communication_permissions": [
                  "read"
                ],
                "incident_feedbacks_permissions": [
                  "read",
                  "create",
                  "update"
                ],
                "incident_permission_set_id": "5d8fb954-b46c-4099-bcff-315697c7287f",
                "incident_roles_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incident_types_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incidents_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "integrations_permissions": [],
                "invitations_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "is_deletable": false,
                "is_editable": true,
                "name": "user",
                "paging_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "playbooks_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "private_incidents_permissions": [],
                "pulses_permissions": [
                  "create",
                  "update",
                  "read"
                ],
                "retrospective_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "roles_permissions": [],
                "secrets_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "services_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "severities_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "slug": "user",
                "status_pages_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "sub_statuses_permissions": [
                  "read"
                ],
                "team_id": 334,
                "updated_at": "2025-11-28T18:11:23.787-08:00",
                "webhooks_permissions": [],
                "workflows_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ]
              }
            },
            "on_call_role": {
              "data": {
                "id": "4134144c-2b9e-47bb-9f6a-e23a20ddcf1f",
                "alert_fields_permissions": [],
                "alert_groups_permissions": [],
                "alert_routing_rules_permissions": [],
                "alert_sources_permissions": [],
                "alert_urgency_permissions": [],
                "alerts_permissions": [],
                "api_keys_permissions": [],
                "audits_permissions": [],
                "contacts_permissions": [],
                "created_at": "2025-11-28T18:11:23.808-08:00",
                "deleted_at": null,
                "escalation_policies_permissions": [],
                "groups_permissions": [],
                "heartbeats_permissions": [],
                "integrations_permissions": [],
                "invitations_permissions": [],
                "live_call_routing_permissions": [],
                "name": "None",
                "on_call_readiness_report_permissions": [],
                "on_call_roles_permissions": [],
                "schedule_override_permissions": [],
                "schedules_permissions": [],
                "services_permissions": [],
                "shift_overrides_permissions": [],
                "slug": "none",
                "system_role": "no_access",
                "team_id": 334,
                "updated_at": "2025-11-28T18:11:23.808-08:00",
                "webhooks_permissions": [],
                "workflows_permissions": []
              }
            },
            "teams": {
              "data": []
            },
            "schedules": {
              "data": []
            },
            "notification_rules": {
              "data": [
                {
                  "id": "abe743b1-4e98-4c02-bf75-e475564490c2",
                  "type": "user_notification_rules"
                },
                {
                  "id": "ccdabbf8-3827-4bc0-83db-13559b376652",
                  "type": "user_notification_rules"
                }
              ]
            }
          }
        }
      },
      "mitigated_by": {
        "data": {
          "id": "351",
          "type": "users",
          "attributes": {
            "name": "Taryn Bergnaum",
            "email": "[email protected]",
            "phone": null,
            "phone_2": null,
            "first_name": "Taryn",
            "last_name": "Bergnaum",
            "full_name": "Taryn Bergnaum",
            "full_name_with_team": "[Lemke-Roob] Taryn Bergnaum",
            "slack_id": null,
            "time_zone": "Etc/UTC",
            "updated_at": "2025-11-28T18:11:42.902-08:00",
            "created_at": "2025-11-28T18:11:23.624-08:00"
          },
          "relationships": {
            "email_addresses": {
              "data": [
                {
                  "id": "6c2ecac3-3b11-48b6-8416-55b645946901",
                  "type": "user_email_addresses"
                }
              ]
            },
            "phone_numbers": {
              "data": []
            },
            "devices": {
              "data": []
            },
            "role": {
              "data": {
                "id": "9c9a7853-00be-4862-b282-7012a928fdf1",
                "alerts_permissions": [
                  "create",
                  "read"
                ],
                "api_keys_permissions": [
                  "create",
                  "update",
                  "read",
                  "delete"
                ],
                "audits_permissions": [],
                "billing_permissions": [],
                "catalogs_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "communication_permissions": [
                  "read"
                ],
                "created_at": "2025-11-28T18:11:23.787-08:00",
                "deleted_at": null,
                "display_order": 2,
                "environments_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "form_fields_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "functionalities_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "groups_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incident_causes_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incident_communication_permissions": [
                  "read"
                ],
                "incident_feedbacks_permissions": [
                  "read",
                  "create",
                  "update"
                ],
                "incident_permission_set_id": "5d8fb954-b46c-4099-bcff-315697c7287f",
                "incident_roles_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incident_types_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "incidents_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "integrations_permissions": [],
                "invitations_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "is_deletable": false,
                "is_editable": true,
                "name": "user",
                "paging_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "playbooks_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "private_incidents_permissions": [],
                "pulses_permissions": [
                  "create",
                  "update",
                  "read"
                ],
                "retrospective_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "roles_permissions": [],
                "secrets_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "services_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "severities_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "slug": "user",
                "status_pages_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ],
                "sub_statuses_permissions": [
                  "read"
                ],
                "team_id": 334,
                "updated_at": "2025-11-28T18:11:23.787-08:00",
                "webhooks_permissions": [],
                "workflows_permissions": [
                  "create",
                  "read",
                  "update",
                  "delete"
                ]
              }
            },
            "on_call_role": {
              "data": {
                "id": "4134144c-2b9e-47bb-9f6a-e23a20ddcf1f",
                "alert_fields_permissions": [],
                "alert_groups_permissions": [],
                "alert_routing_rules_permissions": [],
                "alert_sources_permissions": [],
                "alert_urgency_permissions": [],
                "alerts_permissions": [],
                "api_keys_permissions": [],
                "audits_permissions": [],
                "contacts_permissions": [],
                "created_at": "2025-11-28T18:11:23.808-08:00",
                "deleted_at": null,
                "escalation_policies_permissions": [],
                "groups_permissions": [],
                "heartbeats_permissions": [],
                "integrations_permissions": [],
                "invitations_permissions": [],
                "live_call_routing_permissions": [],
                "name": "None",
                "on_call_readiness_report_permissions": [],
                "on_call_roles_permissions": [],
                "schedule_override_permissions": [],
                "schedules_permissions": [],
                "services_permissions": [],
                "shift_overrides_permissions": [],
                "slug": "none",
                "system_role": "no_access",
                "team_id": 334,
                "updated_at": "2025-11-28T18:11:23.808-08:00",
                "webhooks_permissions": [],
                "workflows_permissions": []
              }
            },
            "teams": {
              "data": []
            },
            "schedules": {
              "data": []
            },
            "notification_rules": {
              "data": [
                {
                  "id": "3ce24a85-d994-480c-a540-887600c9b0c9",
                  "type": "user_notification_rules"
                },
                {
                  "id": "aec27c3d-b6e9-4b52-8974-6fb65e72084a",
                  "type": "user_notification_rules"
                }
              ]
            }
          }
        }
      },
      "resolved_by": null,
      "closed_by": null,
      "cancelled_by": null,
      "mitigation_message": "Restart database fixed it!",
      "resolution_message": null,
      "cancellation_message": null,
      "public_title": null,
      "duplicate_incident_id": null,
      "retrospective_progress_status": "not_started",
      "zoom_meeting_id": null,
      "zoom_meeting_start_url": null,
      "zoom_meeting_join_url": null,
      "zoom_meeting_password": null,
      "zoom_meeting_pstn_password": null,
      "zoom_meeting_h323_password": null,
      "zoom_meeting_global_dial_in_numbers": [],
      "shortcut_story_id": null,
      "shortcut_story_url": null,
      "shortcut_task_id": null,
      "shortcut_task_url": null,
      "asana_task_id": null,
      "asana_task_url": null,
      "github_issue_id": null,
      "github_issue_url": null,
      "gitlab_issue_id": null,
      "gitlab_issue_url": null,
      "jira_issue_key": null,
      "jira_issue_id": null,
      "jira_issue_url": null,
      "google_meeting_id": null,
      "google_meeting_url": null,
      "trello_card_id": null,
      "trello_card_url": null,
      "linear_issue_id": null,
      "linear_issue_url": null,
      "zendesk_ticket_id": null,
      "zendesk_ticket_url": null,
      "motion_task_id": null,
      "motion_task_url": null,
      "clickup_task_id": null,
      "clickup_task_url": null,
      "slack_channel_name": null,
      "slack_channel_id": null,
      "slack_channel_url": null,
      "slack_channel_short_url": null,
      "slack_channel_deep_link": null,
      "slack_channel_archived": false,
      "slack_last_message_ts": null,
      "service_now_incident_id": null,
      "service_now_incident_key": null,
      "service_now_incident_url": null,
      "opsgenie_incident_id": null,
      "opsgenie_incident_url": null,
      "opsgenie_alert_id": null,
      "opsgenie_alert_url": null,
      "victor_ops_incident_id": null,
      "victor_ops_incident_url": null,
      "pagerduty_incident_id": null,
      "pagerduty_incident_number": null,
      "pagerduty_incident_url": null,
      "mattermost_channel_id": null,
      "mattermost_channel_name": null,
      "mattermost_channel_url": null,
      "confluence_page_id": null,
      "confluence_page_url": null,
      "quip_page_id": null,
      "quip_page_url": null,
      "airtable_base_key": null,
      "airtable_table_name": null,
      "airtable_record_id": null,
      "airtable_record_url": null,
      "google_drive_id": null,
      "google_drive_parent_id": null,
      "google_drive_url": null,
      "sharepoint_page_id": null,
      "sharepoint_page_url": null,
      "datadog_notebook_id": null,
      "datadog_notebook_url": null,
      "freshservice_ticket_id": null,
      "freshservice_ticket_url": null,
      "freshservice_task_id": null,
      "freshservice_task_url": null,
      "scheduled_for": null,
      "scheduled_until": null,
      "in_triage_at": null,
      "started_at": "2025-11-28T18:11:24.943-08:00",
      "detected_at": null,
      "acknowledged_at": null,
      "mitigated_at": "2025-11-28T18:11:43.107-08:00",
      "resolved_at": null,
      "closed_at": null,
      "cancelled_at": null,
      "created_at": "2025-11-28T18:11:24.943-08:00",
      "updated_at": "2025-11-28T18:11:43.153-08:00",
      "labels": {}
    },
    "relationships": {
      "incident_post_mortem": {
        "data": {
          "id": "5cb0c9d7-d7f0-4bbe-af98-4c4b330e8e00",
          "type": "incident_post_mortems"
        }
      },
      "causes": {
        "data": []
      },
      "subscribers": {
        "data": []
      },
      "roles": {
        "data": []
      },
      "environments": {
        "data": []
      },
      "incident_types": {
        "data": []
      },
      "services": {
        "data": []
      },
      "functionalities": {
        "data": []
      },
      "groups": {
        "data": []
      },
      "events": {
        "data": [
          {
            "id": "882e47b3-ea80-4e02-a8a4-d9048aa32e12",
            "type": "incident_events"
          },
          {
            "id": "1018a8b5-758d-45c9-bb93-b87053aa4864",
            "type": "incident_events"
          },
          {
            "id": "5d067177-3364-45ab-85aa-928dbe04f17f",
            "type": "incident_events"
          },
          {
            "id": "c2cc1c8b-2558-4515-9faa-52739d2dd4bb",
            "type": "incident_events"
          }
        ]
      },
      "action_items": {
        "data": []
      },
      "custom_field_selections": {
        "data": []
      },
      "feedbacks": {
        "data": []
      },
      "attachments": {
        "data": []
      },
      "slack_messages": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
required

Resource UUID

Body

application/vnd.api+json
data
object
required

Response

incident mitigated

data
object
required