doc-exports/docs/vpc/api-ref/vpc_apiroutetab_0006.html
Qin Ying, Fan 310d2d9eb1 VPC API 20230106 version
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2024-02-06 08:38:37 +00:00

5.1 KiB

Deleting a Route Table

Function

This API is used to delete a custom route table.

Constraints:

Only custom route tables can be deleted. If a custom route table has subnets associated, disassociate the subnets with the route table and then delete the route table.

URI

DELETE /v1/{project_id}/routetables/{routetable_id}

Table 1 describes the parameters.

Table 1 Parameter description

Name

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

routetable_id

Yes

String

Specifies the route table ID, which uniquely identifies a route table.

Request Parameters

None

Example Request

DELETE https://{Endpoint}/v1/{project_id}/routetables/3d42a0d4-a980-4613-ae76-a2cddecff054

Response Parameters

None

Example Response

None

Status Code

See Status Codes.

Error Code

See Error Codes.