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

Deleting a Route Association

Function

This API is used to delete an association from the route table of an enterprise router for an attachment.

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:routeTables:disassociate

Write

routeTables *

  • g:EnterpriseProjectId

  • g:ResourceTag/<tag-key>

er:associations:disassociate

-

attachments *

  • g:EnterpriseProjectId

  • g:ResourceTag/<tag-key>

URI

POST /v3/{project_id}/enterprise-router/{er_id}/route-tables/{route_table_id}/disassociate

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

er_id

Yes

String

Enterprise router ID

route_table_id

Yes

String

Route table ID

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

attachment_id

No

String

Unique ID of the attachment

Maximum: 36

Response Parameters

Status code: 202

Accepted

None

Example Requests

Deleting a route table association

POST https://{erouter_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/enterprise-router/915a14a6-867b-4af7-83d1-70efceb146f8/route-tables/915a14a6-867b-4af7-83d1-70efceb146f9/disassociate

{
  "attachment_id" : "2609ec92-ac19-4467-a527-7f9e690e7836"
}

Example Responses

None

Status Codes

Status Code

Description

202

Accepted

Error Codes

See Error Codes.