Last Updated on : 2023-07-06 07:59:23download
Add devices to a device group. Up to 20 devices can be added each time.
POST: /v1.0/iot-03/device-groups/{group_id}/actions/device-add
| 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 added. |
| 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 task ID. |
| expire_time | Long | The expiration time in seconds. |
POST: /v1.0/iot-03/device-groups/1430809xxxx8728904/actions/device-add
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback