Set Up Data Threshold

Last Updated on : 2021-08-27 03:28:54download

Save or modify the data threshold of a specified IoT SIM card.

API address

POST: /v1.0/iot-01/sim/threshold

Request parameter

Description of body

Parameter name Type IN Required Description
iccid String true The ID of a specified IoT SIM card.
limit_percent Integer false The percentage of alert threshold. Unit: %. At least one of limit_percent and limit_absolute_value must be set.
limit_absolute_value Integer false The absolute value of capacity. Unit: MB. At least one of limit_absolute_value and limit_percent must be set.

Return parameter

Parameter name Type Description
result Boolean Indicates whether the operation is successful. Valid values:
  • true: yes.
  • false: no.

Request example

POST: /v1.0/iot-01/sim/threshold

Return example

{ "result": true, "t": 1626329772978, "success": true }

Error code

For more information, see error code.