Verb | URI | Description |
DELETE | /routers/router_id |
Removes a logical router and its external gateway interface, if it exists |
Normal Response Code: 204
Error Response Codes: Unauthorized (401), Not Found (404), Conflict (409)
This operation removes a logical router; the operation will fail if the router still has some internal interfaces.
Users must remove all router interfaces before deleting the router, by removing all internal interfaces through remove router interface operation.
This operation does not require a request body.
This operation does not return a response body.
Example 4.21. Delete Router: JSON Request
DELETE /v2.0/routers/8604a0de-7f6b-409a-a47c-a1cc7bc77b2e Accept: application/json