notification_subscriptions
Overview
Name | notification_subscriptions |
Type | Resource |
Id | pagerduty.teams.notification_subscriptions |
Fields
Name | Datatype | Description |
---|---|---|
subscribable_name | string | The name of the subscribable |
subscription | object | An object describing the relationship of a NotificationSubscriber and a NotificationSubscribable. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_team_notification_subscriptions | SELECT | id | Retrieve a list of Notification Subscriptions the given Team has. <!-- theme: warning --> > Teams must be added through POST /teams/{id}/notification_subscriptions to be returned from this endpoint.Scoped OAuth requires: subscribers.read |
create_team_notification_subscriptions | INSERT | id, data__subscribables | Create new Notification Subscriptions for the given Team. Scoped OAuth requires: subscribers.write |
_get_team_notification_subscriptions | EXEC | id | Retrieve a list of Notification Subscriptions the given Team has. <!-- theme: warning --> > Teams must be added through POST /teams/{id}/notification_subscriptions to be returned from this endpoint.Scoped OAuth requires: subscribers.read |
remove_team_notification_subscriptions | EXEC | id, data__subscribables | Unsubscribe the given Team from Notifications on the matching Subscribable entities. Scoped OAuth requires: subscribers.write |