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. Open the navigation menu and click Analytics & AI. Under Messaging, click Connector Hub.
    2. On the Connectors page, select the compartment that contains the connector that you want.
    3. Click the name of the connector that you want.
    4. On the details page for the connector, click Move resource.
    5. In the Move resource dialog box, select the destination compartment from the list.
    6. Click Move resource.
      The connector is moved to the new compartment, but its default policies stop working.
    7. 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.