Last Updated on : 2024-06-29 02:25:42download
Modify the name and other information of the specified group based on the group ID.
PUT: /v2.1/cloud/thing/group/{group_id}
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| group_id | Long | path | true | The group ID. |
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| group_name | String | body | false | The name of the specified group. |
| product_id | String | body | false | The product ID (PID). Modifying the PID will change the group icon. |
| Parameter name | Type | Description |
|---|---|---|
| result | JsonObject | The returned result of the specified group. |
| success | Boolean | Indicates whether the API is called successfully. Valid values:
|
| t | Long | The timestamp. |
| tid | String | The link ID. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | Indicates whether the operation is successful. Valid values:
|
PUT: /v2.1/cloud/thing/group/1393****
{
"group_name": "testUpdateGroup****",
"product_id": "oftxwukuvzoc****"
}
{
"tid": "a96cf809021611efbe7a366d87620758",
"result": {
"result": true
},
"t": 1713948182816,
"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