Help Center/ Enterprise Router/ API Reference/ APIs/ Routes/ Deleting a Static Route
Updated on 2026-03-20 GMT+08:00

Deleting a Static Route

Function

This API is used to delete a static route.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account root user has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.

Action

Access Level

Resource Type (*: required)

Condition Key

Alias

Dependencies

er:staticRoutes:delete

Write

routeTables *

  • g:EnterpriseProjectId

  • g:ResourceTag/<tag-key>

er:routes:delete

-

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

Status code: 202

Accepted

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.