Optional
adminAdmin-managed settings for the subscription. Only applies to subscriptions where the subscriber is a group.
Optional
channelChannel for delivering notifications triggered by the subscription.
Optional
descriptionUpdated description for the subscription. Typically describes filter criteria which helps identity the subscription.
Optional
filterMatching criteria for the subscription. ExpressionFilter
Optional
scopeThe container in which events must be published from in order to be matched by the new subscription. If not specified, defaults to the current host (typically the current account or project collection). For example, a subscription scoped to project A will not produce notifications for events published from project B.
Optional
statusUpdated status for the subscription. Typically used to enable or disable a subscription.
Optional
statusOptional message that provides more details about the updated status.
Optional
userUser-managed settings for the subscription. Only applies to subscriptions where the subscriber is a group. Typically used to opt-in or opt-out a user from a group subscription.
Parameters for updating an existing subscription. A subscription defines criteria for matching events and how the subscription's subscriber should be notified about those events. Note: only the fields to be updated should be set.