• Virtual Private Cloud

vpc
  1. Help Center
  2. Virtual Private Cloud
  3. API Reference
  4. APIs
  5. VPC Peering Connection
  6. Deleting a VPC Peering Connection

Deleting a VPC Peering Connection

Function

This interface is used to delete a VPC peering connection.

A VPC peering connection can be deleted either by the local or peer tenant.

URI

DELETE /v2.0/vpc/peerings/{peering_id}
Table 1 Parameter description

Name

Mandatory

Type

Description

peering_id

Yes

String

Specifies the VPC peering connection ID, which uniquely identifies the VPC peering connection.

Request Message

  • Request parameter
    Table 2 Parameter description

    Name

    Mandatory

    Type

    Description

    peering_id

    Yes

    String

    Specifies the VPC peering connection ID, which uniquely identifies the VPC peering connection.

  • Example request
    DELETE /v2.0/vpc/peerings/2b098395-046a-4071-b009-312bcee665cb 

Response Message

  • Response parameter

    None

  • Example response

    None

Status Codes

For details, see section Status Codes.