forked from docs/doc-exports
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>
7.2 KiB
7.2 KiB
Deleting a Route Association
Function
This API is used to delete an association from the route table of an enterprise router for an attachment.
URI
POST /v3/{project_id}/enterprise-router/{er_id}/route-tables/{route_table_id}/disassociate
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
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
attachment_id |
No |
String |
Unique ID of the attachment Maximum: 36 |
route_policy |
No |
ExportRoutePolicy object |
Route that controls outbound traffic. Note that this is not currently supported. This parameter is not supported for now. |
Response Parameters
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.
Parent topic: Associations