Yes, you can delete (disconnect) a specific data session from the User Console or by using the Soracom CLI.
CAUTION
Deleting a session will immediately end all active connections to and from the device.
If your device is deployed remotely, ensure that it is configured to automatically reconnect and establish a new session. If the device does not attempt to reconnect automatically, you will lose connectivity and may need to physically access the device to restore the connection.
Method 1: User Console
You can manage sessions directly through the User Console:
- Login to the User Console.
- Click the checkbox next to the IoT SIM you want to disconnect.
- Click the Actions menu and select Delete session.
Method 2: Programatically
You can also delete a session using the Soracom API or CLI tool.
For the API, use the deleteSimSession endpoint.
For the CLI, ;eExecute the following command, replacing <SIM_ID> with the SIM ID or IMSI of the IoT SIM you want to disconnect:
soracom sims delete-session --sim-id <SIM_ID>
For additional information on installing and using the tool, please refer to the Soracom CLI README.