enterprise-router/api-ref/source/apis/associations/deleting_a_route_association.rst
proposalbot bdabc93498 Changes to er_api-ref from docs/doc-exports#716 (ER API 20230411 version
For de

Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2024-01-16 12:51:15 +00:00

5.2 KiB

original_name

DisassociateRouteTable.html

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

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

route_policy No ExportRoutePolicy <disassociateroutetable__request_exportroutepolicy> object Route that controls outbound traffic. Note that this is not currently supported. This parameter is not supported for now.
Table 3 ExportRoutePolicy
Parameter Mandatory Type Description
export_policy_id No String

ID of the route policy that controls outbound traffic. This parameter is not supported for now.

Minimum: 0

Maximum: 36

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 <errorcode>.