younifyd
Menu

Update Incident Alerts

Manage alerts

PUT/incidents/{id}/alerts

Use it in a workflow

  1. Add a step and choose the PagerDuty connector.
  2. Pick the Update Incident Alerts action (under Incidents).
  3. Fill in the fields below, then reference the result from later steps as {{updateIncidentAlerts.response.data}}.

Request

Path parameters

idstringrequired

The ID of the resource.

Query parameters

limitinteger

The number of results per page.

offsetinteger

Offset to start pagination search results.

totalboolean

By default the `total` field in pagination responses is set to `null` to provide the fastest possible response times. Set `total` to `true` for this field to be populated. See our [Pagination Docs](https://developer.pagerduty.com/docs/rest-api-v2/pagination/) for more information.

Default false

Headers

Acceptstringrequired

The `Accept` header is used as a versioning header.

Default "application/vnd.pagerduty+json;version=2"

Content-Typestringrequired

One ofapplication/jsonDefault "application/json"

Fromstring (email)required

The email address of a valid user associated with the account making the request.

Request body

Enter the body as JSON in the step's Body field.

alertsarray<object>required

An array of alerts, including the parameters to update for each alert.

statusstring

One ofresolvedtriggered

incidentobject2 fields
json
{
  "alerts": [
    {
      "status": "resolved",
      "incident": {
        "id": "string",
        "type": "incident_reference"
      }
    }
  ]
}

Response

Returns 200 with a any. Read it in later steps with {{updateIncidentAlerts.response.data.<field>}}.

Need more? See the PagerDuty guide for connection setup and behaviour shared by every action.

Update Incident Alerts — PagerDuty — Documentation