Moving an OCI Cache User Between Compartments

Move an OCI Cache user to a different compartment in your Oracle Cloud Infrastructure tenancy.

    1. On the Cache users list page, find the cache user that you want to work with. If you need help finding the list page or the cluster, see Listing OCI Cache Users.
    2. From the Actions menu for the cache user, select Move resource.
    3. In the Move resource panel, select the destination compartment from the list.
    4. Select Move resource.
    The cache user now resides in the updated compartment.
  • Use the oci redis oci-cache-user oci-cache-user change-compartment command and required parameters to move a cache user to a different compartment:

    oci redis oci-cache-user oci-cache-user change-compartment --compartment-id <compartment_OCID> --oci-cache-user-id <cache_user_OCID> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ChangeOciCacheUserCompartment operation to move a cache user to a different compartment.