Deleting a Remote Peering Connection

Delete a remote peering connection (RPC).

Deleting an RPC also ends the peering connection. The RPC at the other side of the peering changes to the REVOKED state.

This is an asynchronous operation. The RPC's lifecycleState changes to Terminating temporarily until the RPC is removed.

    1. On the Dynamic Routing Gateways list page, select the DRG that you want to work with. If you need help finding the list page or the DRG, see Listing DRGs.
    2. On the details page, perform one of the following actions depending on the option that you see:
      • On the Attachments tab, go to the Remote peering connection attachments section.
      • Under Resources, select Remote peering connection attachments.
    3. In the table, select the name of the RPC you're interested in.
    4. On the RPC details page, perform one of the following actions depending on the option that you see:
      • Select Actions and then Terminate.
      • Select Terminate.
    5. When prompted, confirm the deletion.
  • Use the network remote-peering-connection delete command and required parameters to delete an RPC:

    oci network remote-peering-connection delete  --remote-peering-connection-id rcp-ocid ... [OPTIONS]

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

  • Run the DeleteRemotePeeringConnection operation to delete an RPC.