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.
- Open the navigation menu and click Networking. Under DNS management, click HTTP redirects.
- Under List scope, select the compartment that contains the redirect.
- Find the HTTP redirect in the list, click the , and then click Move resource.
- Choose a destination compartment from the list.
- 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.