Path: /api/v1/group/update
Method: POST
Description:Edit group information, such as group name, ensuring uniqueness. This feature requires an upgrade to version 2.5.6.2 or higher.
Optional Body parameter can be omitted, and the parameter format is JSON.
Name | Type | Necessary | Default | Example | Description |
---|---|---|---|---|---|
group_id | text | YES | - | 123 | Group ID being edited |
group_name | text | YES | - | group2 | New name, should be unique |
remark | text | NO | - | 123 | Modified grouping notes (need to upgrade to v2.6.7.2 and above) |
//Operation succeeded
{
"code": 0,
"data": {
}
"msg": "Success"
}
//Operation failed
{
"code":-1,
"data":{},
"msg":"failed"
}