Moving a Connector

Move a connector in Connector Hub to another compartment.

Note

When you move a connector, its default policies stop working. To give a moved connector the required authorization, edit the connector by using the Console and accept the offered default policy. For more information about connector authorization, see Access to Source, Task, and Target Services.
    1. On the Connectors list page, find the connector that you want to work with. If you need help finding the list page or connector, see Listing Connectors.
    2. From the Actions menu (Actions Menu) for the connector, select Move resource.
    3. In the Move resource dialog box, select the compartment that you want to move the connector to.
    4. Select Move resource.
      The connector is moved to the new compartment, but its default policies stop working.
    5. To give the moved connector the required authorization, edit the connector by using the Console and accept the offered default policy.
  • Use the oci sch service-connector change-compartment command and required parameters to move a connector to another compartment:

    oci sch service-connector change-compartment --service-connector-id <connector_OCID> --compartment-id <destination_compartment_OCID>

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

  • Run the ChangeServiceConnectorCompartment operation to move a connector to another compartment.