API Description

Removes devices from the group. A maximum of 1,000 devices can be deleted at a time.

API Request Format

HTTP request method: POST (use the HTTPS protocol)https://api.weixin.qq.com/shakearound/device/group/deletedevice?access_token=ACCESS_TOKEN
POST data format: json
POST data example:
{
 "group_id": 123,
  "device_identifiers":[
          {
          "device_id":10100,	
          "uuid":"FDA50693-A4E2-4FB1-AFCF-C6EB07647825",	
          "major":10001,
          "minor":10002
          }
          ]
}

Parameters

Parameter Required Description
access_token Yes The credential for calling the API
device_identifiers Yes Device ID list
device_id Yes Device ID. This parameter is not required if UUID, major, and minor are entered.
UUID, major, minor Yes This parameter is not required if device ID is entered.
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."
}