Help Center/ Enterprise Router/ API Reference/ APIs/ Routes/ Deleting a Static Route
Updated on 2024-01-16 GMT+08:00

Deleting a Static Route

Function

This API is used to delete a static route.

Calling Method

For details, see Calling APIs.

URI

DELETE /v3/{project_id}/enterprise-router/route-tables/{route_table_id}/static-routes/{route_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

route_table_id

Yes

String

Route table ID

route_id

Yes

String

Route ID

Request Parameters

None

Response Parameters

None

Example Requests

DELETE https://{erouter_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/enterprise-router/route-tables/3ddb4dc2-174e-4d43-9328-b805d5c0c774/static-routes/19d334b7-78c1-4e0e-ba29-b797e641e23c

Example Responses

None

Status Codes

Status Code

Description

202

Accepted

Error Codes

See Error Codes.