younifyd
Menu

Remove Incident Notification Subscribers

Remove Notification Subscriber

POST/incidents/{id}/status_updates/unsubscribe

Use it in a workflow

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

Request

Path parameters

idstringrequired

The ID of the resource.

Headers

Acceptstringrequired

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

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

Request body

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

subscribersarray<object>required
subscriber_idstring

The ID of the entity being subscribed

subscriber_typestring

The type of the entity being subscribed

One ofuserteam

json
{
  "subscribers": [
    {
      "subscriber_id": "PD1234",
      "subscriber_type": "user"
    }
  ]
}

Response

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

deleted_countnumber
unauthorized_countnumber
non_existent_countnumber
json
{
  "deleted_count": 0,
  "unauthorized_count": 0,
  "non_existent_count": 0
}

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