down_tunnel
Close an active database tunnel by its ID. Use force true to drain holder pools and close unconditionally.
Instructions
Close a tunnel previously opened with up_tunnel, by its tunnel_id. By default only the up_tunnel pin is released: if live connection pools still use the tunnel it stays open and their keys are returned in remaining_holders. With force=true the holder pools are drained and the tunnel is closed unconditionally (the next query recreates them).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Drain holder pools and close the tunnel unconditionally | |
| tunnel_id | Yes | Tunnel id returned by up_tunnel |