Last Updated on : 2023-07-06 07:52:03download
Remove devices from a device group. Up to 20 devices can be removed each time.
POST: /v1.0/iot-03/device-groups/{group_id}/actions/device-remove
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
group_id | String | uri | true | The ID of a specified group. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_ids | List | body | true | The ID sets of devices to be removed. |
Parameter name | Type | Description |
---|---|---|
result | GroupPackageTaskVO | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
group_id | String | The ID of a specified group. |
task_id | String | The ID of a specified task. |
expire_time | Long | The expiration time in seconds. |
POST: /v1.0/iot-03/device-groups/14308xxxx887268904/actions/device-remove
{
"device_ids": [
"vdevo16292xxxx310895"
]
}
{
"result": {
"expire_time": 10,
"task_id": "143253xxxx5458899",
"group_id": "14308xxxx887268904"
},
"t": 1630379063616,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback