younifyd
Menu

Update Incident Alert

Update an alert

PUT/incidents/{id}/alerts/{alert_id}

Use it in a workflow

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

Request

Path parameters

idstringrequired

The ID of the resource.

alert_idstringrequired

The id of the alert to retrieve.

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.

alertobjectrequired
statusstring

One ofresolvedtriggered

incidentobject2 fields
json
{
  "alert": {
    "status": "resolved",
    "incident": {
      "id": "string",
      "type": "incident_reference"
    }
  }
}

Response

Returns 200 with an object. Read it in later steps with {{updateIncidentAlert.response.data.<field>}}.

alertany
json
{
  "alert": null
}

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