Disconnect device
disconnect_deviceDisconnect a device's VPN tunnel to stop its traffic routing through Portveil and remove VPN protection until it reconnects; the device remains on the account.
Instructions
Turn off a device's VPN tunnel. Its traffic stops going through Portveil (and loses VPN protection) until it reconnects. The device stays on the account. Confirm with the user first. Needs a control-scope token and a Portveil-agent device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Which device: its name, a unique part of its name (e.g. "scraper"), or its device ID (dev_…). Case-insensitive. Get names and IDs from list_devices. |