notification_subscriptions
Overview
Name | notification_subscriptions |
Type | Resource |
Id | pagerduty.users.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_user_notification_subscriptions | SELECT | id | Retrieve a list of Notification Subscriptions the given User has. <!-- theme: warning --> > Users must be added through POST /users/{id}/notification_subscriptions to be returned from this endpoint.Scoped OAuth requires: subscribers.read |
create_user_notification_subscriptions | INSERT | id, data__subscribables | Create new Notification Subscriptions for the given User. Scoped OAuth requires: subscribers.write |
_get_user_notification_subscriptions | EXEC | id | Retrieve a list of Notification Subscriptions the given User has. <!-- theme: warning --> > Users must be added through POST /users/{id}/notification_subscriptions to be returned from this endpoint.Scoped OAuth requires: subscribers.read |
unsubscribe_user_notification_subscriptions | EXEC | id, data__subscribables | Unsubscribe the given User from Notifications on the matching Subscribable entities. Scoped OAuth requires: subscribers.write |