Deleting a Route

Function

This API is used to delete a specific route.

URI

  • URI format

    DELETE /v1.0/{project_id}/reserved_cluster/{cluster_id}/peering/{peering_id}/route/{route_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.

    route_id

    Yes

    ID of a route.

Request

None

Response

None

Status Code

Table 2 Status code

Status Code

Description

204

Failed to delete the route.

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.