Call this operation to query the tags of a group.

Request parameters

Parameter Type Required Description
Action String Yes The action that you want to perform. Set the value to QueryDeviceGroupTagList.
GroupId String Yes Group ID, that is the unique identifier of the group.
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.
Data Data The list of group tags returned when the call is successful. For more information, see the following table GroupTagInfo.
Table 1. GroupTagInfo
Parameter Type Description
TagKey String The key of the tag.
TagValue String The value of the tag.

Examples

Request example

http://iot.cn-shanghai.aliyuncs.com/?Action=QueryDeviceGroupTagList
&GroupId=W16X8TvdosecZu91
&Common request parameters

Response example

{
    "Data":{
        "GroupTagInfo":[
            {
                "TagValue":"bulb",
                "TagKey":"room1"
            }
        ]
    },
    "RequestId":"214154FF-9D47-4E3F-AAAD-F4CE67F41060",
    "Success":true
}