bucket notification-rule enable

Allows enabling notification rule of the given bucket.

Warning

Event Notifications feature is in “Private Preview” state and may change without notice. See https://www.backblaze.com/blog/announcing-event-notifications/ for details.

Examples:

b2 notification-rule enable b2://bucketName/ ruleName

Requires capability:

  • readBucketNotifications

  • writeBucketNotifications

b2 bucket notification-rule enable [-h] [--json] B2_URI ruleName

Positional Arguments

B2_URI

B2 URI of the bucket to enable the rule for, e.g. b2://bucketName

ruleName

Name of the rule to enable

Named Arguments

--json

output in JSON format to use in scripts

Default: False