Last Updated on : 2024-09-10 01:49:16
Add devices to the specified group based on the group ID.
PUT: /v2.0/cloud/thing/group/{group_id}/devices
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
group_id | Long | path | true | The ID of the specified group. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
space_id | String | body | true | The ID of the space to which the specified group belongs. |
device_ids | String | body | true | The list of up to 20 device IDs, separated with commas (,). |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The returned result. Valid values:
|
success | Boolean | Indicates whether the operation is successful. Valid values:
|
t | Long | The timestamp. |
tid | String | The link ID. |
PUT: /v2.0/cloud/thing/group/12856***/devices
{
"space_id": "2512****",
"device_ids": "vdevo163815*****,529739391******"
}
{
"tid": "a14a4f23b32211edaa2fba12a1143bd9",
"result": true,
"t": 1677119683579,
"success": true
}
For more information, see error code.
For more information, see Limits on API Request Frequency.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback