Deleting a VPC Peering Connection

Function

This API is used to delete a specified VPC peering connection.

URI

  • URI format

    DELETE /v1.0/{project_id}/reserved_cluster/{cluster_id}/peering/{peering_id}

  • Parameter description
    Table 1 URI parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

    cluster_id

    Yes

    Cluster ID.

    peering_id

    Yes

    ID of the VPC peering connection.

Request

None

Response

None

Status Code

Table 2 Status code

Status Code

Description

204

Deleting the VPC peering connection succeeds.

400

The input parameter is invalid.

500

Failed to complete the request because of an internal service error.

Error Code

For details, see Error Codes.