Moving a Community Application Between Compartments
Use Marketplace to move a community application from one compartment to another.
- On the Community Applications list page, select the community application that you want to work with. If you need help finding the list page or the community application, see Listing a Community Application.
- On the details page, from the Actions menu for the community application that you want to move, select Move resource.
- In the Move resource panel, select the destination compartment from the list.
- Select Move resource.
Open a command prompt and run
oci marketplace publication change-compartment
to move a community application from one compartment to another:oci marketplace publication change-compartment --compartment-id <target_compartment_id> --publication-id <target_publication_id>
For example:
oci marketplace publication change-compartment --compartment-id ocid1.compartment.oc1..example1example25qrlpo4agcmothkbgqgmuz2zzum45ibplooqtabwk3zz --publication-id ocid1.marketplacecommunitylisting.oc1..examplea3o7jtytz3lsfauxeq6sp5ye3ex624rgsw2ol4cvbpy2qtm57dgja
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ChangePublicationCompartment operation to move a community application to another compartment.