How to deactivate SIMs using the REST API
Use the POST/devices/batch/state endpoint to deactivate one or more SIMs by device ID (deviceids).
Danger: SIM deactivation is permanent and irreversible once completed. If you plan to reuse SIMs, do not deactivate them, pause them instead.
Send a request to set state=deactivate using cURL
cURL
Send a request to set state=deactivate using HTTP
cURL
Related actions
Deactivate SIMs in your dashboard
Deactivate SIMs in your dashboard. Limited to 10 SIMs at a time.
REST API endpoint
Deactivate SIMs (bulk)
POST /devices/batch/stateLimited access: Some functionality in your dashboard is restricted to roles with access.