Skip to main content

notification_subscriptions

Overview

Namenotification_subscriptions
TypeResource
Idpagerduty.users.notification_subscriptions

Fields

NameDatatypeDescription
subscribable_namestringThe name of the subscribable
subscriptionobjectAn object describing the relationship of a NotificationSubscriber and a NotificationSubscribable.

Methods

NameAccessible byRequired ParamsDescription
get_user_notification_subscriptionsSELECTidRetrieve a list of Notification Subscriptions the given User has.

<!-- theme: warning -->
> Users must be added through POST /users/&#123;id&#125;/notification_subscriptions to be returned from this endpoint.

Scoped OAuth requires: subscribers.read
create_user_notification_subscriptionsINSERTid, data__subscribablesCreate new Notification Subscriptions for the given User.

Scoped OAuth requires: subscribers.write
_get_user_notification_subscriptionsEXECidRetrieve a list of Notification Subscriptions the given User has.

<!-- theme: warning -->
> Users must be added through POST /users/&#123;id&#125;/notification_subscriptions to be returned from this endpoint.

Scoped OAuth requires: subscribers.read
unsubscribe_user_notification_subscriptionsEXECid, data__subscribablesUnsubscribe the given User from Notifications on the matching Subscribable entities.

Scoped OAuth requires: subscribers.write