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 port delete

Deletes a port.

Any IP addresses that are associated with the port are returned to the respective subnets allocation pools.

Normal response codes: 204

Error response codes: 401, 403, 404, 412

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

Arguments:

  • <ID> — port_id parameter for /v2.0/ports/{port_id}/add_allowed_address_pairs 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