Suspend/Resume IoT SIM Card

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

Suspend or resume an IoT SIM Card based on the card ID.

API address

PUT: /v1.0/iot-01/sim/enable

Request parameter

Description of body

Parameter name Type IN Required Description
iccid String true The ID of a specified IoT SIM card.
operate_type String true Indicates the operation type. Valid values:
  • MANAGE_STOP: Suspend the IoT SIM card.
  • MANAGE_RESUME: Resume the IoT SIM card.

Return parameter

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

Request example

PUT: /v1.0/iot-01/sim/enable
{ "iccid": "898611212100361****", "operate_type": "MANAGE_STOP" }

Return example

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

Error code

For more information, see error code.