Stop / Restore Mobile Data
telgea_set_data_restrictionStop or restore mobile data for a single line or every line of a user while keeping calls and SMS active; confirm the action first and provide a reason.
Instructions
Stop or restore mobile data on one line (numberId) or on every line of a user (userId). Calls and SMS keep working. Requires TELGEA_ENABLE_WRITES=true on the server. Confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| reason | Yes | Why — kept in the audit log (and with Telgea where the endpoint takes a reason). | |
| userId | No | Every line of this user. | |
| numberId | No | One line. |