Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

osc network router delete

Deletes a logical router and, if present, its external gateway interface.

This operation fails if the router has attached interfaces. Use the remove router interface operation to remove all router interfaces before you delete the router.

Normal response codes: 204

Error response codes: 401, 404, 409, 412

Usage: osc network router delete [OPTIONS] <ID>

Arguments:

  • <ID> — id parameter for /v2.0/routers/{id} API

Options:

  • --wait — Wait for the resource to reach its target status (or, for delete, to disappear) before returning. Uses client-side status polling

  • --wait-timeout <WAIT_TIMEOUT> — Maximum time to wait, in seconds. Only meaningful with --wait

    Default value: 600