Updating an Announcement Subscription
You can update an active subscription by changing its name, description, or Notifications topic.
- Use the oci announce announcement-subscription update command and required parameters to update an announcement subscription:
oci announce announcement-subscription update --announcement-subscription-id <announcementsubscription_OCID>
For example, to change a subscription name:oci announce announcement-subscription update --announcement-subscription-id ocid1.announcementsubscription.<realm>.<region>.<unique_ID> --display-name newsubscriptionname
Or, to change a subscription description:oci announce announcement-subscription update --announcement-subscription-id ocid1.announcementsubscription.<realm>.<region>.<unique_ID> --description "new subscription description"
Or, to change the subscription's preferred time zone by specifying the IANA Time Zone Database format:oci announce announcement-subscription update --preferred-time-zone "America/Los_Angeles"
Or, to change the subscription's Notifications topic:oci announce announcement-subscription update --announcement-subscription-id ocid1.announcementsubscription.<realm>.<region>.<unique_ID> --ons-topic-id ocid1.onstopic.<realm>.<region>.<unique_ID>
For more information about Notifications topic options, see UpdateSubscriptionDetails.
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateAnnouncementSubscription operation to update an announcement subscription.