Moving an Announcement Subscription to a Different Compartment
You can move an announcement subscription from one compartment to another.
- On the Subscriptions list page, find the subscription you want to move, and then select the subscription name. If you need help finding the list page, see Viewing a List of All Announcement Subscriptions.
- Select Move resource.
- Select Destination compartment, and then select a new compartment from the list.
- When you're ready, select Move resource.
- Use the oci announce announcement-subscription change-compartment command and required parameters to move an announcement subscription to a different compartment:
oci announce announcement-subscription change-compartment --announcement-subscription-id <announcementsubscription_OCID> --compartment-id <new_compartment_OCID>
For example:oci announce announcement-subscription change-compartment --announcement-subscription-id ocid1.announcementsubscription.<realm1>..<unique_ID> --compartment-id ocid1.compartment.<realm>..<unique_ID>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeAnnouncementSubscriptionCompartment operation to move an announcement subscription to a different compartment.