10.7. Deleting virtual routers¶
Delete a logical router and, if present, its external gateway interface.
This operation fails if the router has attached internal interfaces. Find their IDs, as explained in Listing virtual router interfaces, and delete them, according to Deleting virtual router interfaces. After deleting all of router’s internal interfaces, delete the router itself.
||path||string||The ID of the router.|
# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \ https://<node_IP_addr>:9696/v2.0/routers/ce996632-45a2-4c6b-a951-a624eba74621
10.7.2.1. Status codes¶
||The server has fulfilled the request.|
||User must authenticate before making a request.|
||The requested resource could not be found.|
||This operation conflicted with another operation on this resource.|
||The server does not meet one of the preconditions that the requester put on the request header fields.|