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. On the HTTP redirects list page, find the HTTP redirect you want to move. If you need help finding the list page, see Listing HTTP Redirects.
    2. From the Actions menu Actions Menu for the HTTP redirect, select Move Resource.
    3. In the Move resource panel, select the destination compartment from the list.
    4. Select 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.