Call this operation to update the information of a group.
Request parameters
Parameter | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The action that you want to perform. Set the value to UpdateDeviceGroup. |
GroupId | String | Yes | The Group ID. It is the globally unique identifier of the group. |
GroupDesc | String | No | The description of the group. The maximum length is 100 characters. (Each Chinese character counts as one character.) |
Common request parameters | - | Yes | see Common parameters. |
Response parameters
Parameter | Type | Description |
---|---|---|
RequestId | String | The globally unique ID generated by Alibaba Cloud for the request. |
Success | Boolean | Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed. |
ErrorMessage | String | The error message returned when the call fails. |
Code | String | For error codes, see Error codes. |
Examples
Request example
http://iot.cn-shanghai.aliyuncs.com/?Action=UpdateDeviceGroup
&GroupId=W16X8TvdosecZu91
&GroupDesc=test2
&Common request parameters
Response example
{
"RequestId":"B78B4FD1-AE89-417B-AD55-367EBB0C6759",
"Success":true
}