Moving an HTTP Redirect Between Compartments

You can move an HTTP redirect from one compartment to another.

See Managing Compartments for information about compartments and access control.

See HTTP Redirects for a resource overview and more information.

For general service information, see the DNS service overview.

    1. Open the navigation menu and click Networking. Under DNS management, click HTTP redirects.
    2. Under List scope, select the compartment that contains the redirect.
    3. Find the HTTP redirect in the list, click the Actions menu (Actions Menu), and then click Move resource.
    4. Choose a destination compartment from the list.
    5. Click Move resource.
  • Use the http-redirect change-compartment command and required parameters to move an HTTP redirect to a different compartment.

    oci dns http-redirect change-compartment --http-redirect-id http_redirect_OCID --compartment-id compartment_OCID ... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the ChangeHttpRedirectCompartment operation to move an HTTP redirect to a different compartment.