HTTP Request URL: http(s)://api.thingboot.com/{AppID}/group/create/?sign={sign}&ts={ts}
About the sign and ts definition
Or
MQTT Publish Topic: api/{AppID}/group/create
The returned results are also received on the same topic.
Request parameters
| Name | Required | Type | Description |
|---|---|---|---|
| title | Yes | string | Group name: Only Chinese characters, English letters, numbers, and underscores (_) are supported. No other characters are allowed. The maximum length is 32 characters, with each Chinese character counting as one character.
* For ease of management, it is recommended to use your system's main ID as the corresponding group name. For example, if a device belongs to customer ID 888, the group name should ideally be client_888 or simply 888.
Group names must be unique. If you attempt to create a duplicate group name, the code will still return 200, but the message will indicate that the name already exists. |
| parent | No | int | Parent ID |
| remark | Yes | string | Group's note information, optional |