Last Updated on : 2023-06-21 07:12:58download
Enable or disable the prepayment feature of a specified electrical device based on the device ID.
POST: /v1.0/iot-03/power-devices/{device_id}/prepayment
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
action | Boolean | true |
|
Parameter name | Type | Description |
---|---|---|
result | Boolean |
|
POST: /v1.0/iot-03/power-devices/6c814919a3f54fb4eb****/prepayment
{
"action": true
}
{
"result": true,
"t": 1637834545489,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback