API Description
Deletes device groups. If there is a device in the group, the group cannot be deleted. The device needs to be removed before it can be deleted.
API Request Format
HTTP request method: POST (use the HTTPS protocol)https://api.weixin.qq.com/shakearound/device/group/delete?access_token=ACCESS_TOKEN
POST data format: json
POST data example:
{
"group_id":123
}
Parameters
Parameter | Required | Description |
---|---|---|
access_token | Yes | The credential for calling the API |
group_id | Yes | The globally unique identifier of the group |
Response
Example of JSON packet returned for a successful request:
{
"data": {
},
"errcode": 0,
"errmsg": "success."
}