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_id":123,
  "group_name":"test update"
}

Parameters

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)

Response

Example of JSON packet returned for a successful request:

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