API Description

Edits device group information. Currently, only group names can be modified.

API Request Format

HTTP request method: POST (use the HTTPS protocol)https://api.weixin.qq.com/shakearound/device/group/update?access_token=ACCESS_TOKEN
POST data format: json
POST data example:
  "group_name":"test update"


Parameter Required Description
access_token Yes The credential for calling the API
group_id Yes The globally unique identifier of the group
group_name Yes Group name, with a maximum length of 100 Chinese characters (200 English characters)


Example of JSON packet returned for a successful request:

  "data": {
  "errcode": 0,
  "errmsg": "success."