Rename A Group
A brief description
- without
request URL
{{url}}/v1/tag/rename
request method
- get
Request Query parameter
| Parameter | Example Value | Required | Type | Description |
|---|---|---|---|---|
| token | Yes | string | authentication token | |
| tagId | Yes | string | group id | |
| name | Yes | string | new name for the group |
Example of successful return
{
"data": {
"tagId": "1024"
},
"code": 0,
"msg": "OK"
}
Parameter description of the successful return example
| Parameter | Type | Description |
|---|---|---|
| tagId | string | group id |
| code | int | 0: Successful; not 0: failed |
Failure return example
{
"data": {},
"code": 416,
"msg": "Name already exists"
}
Remark
If you update a record whose ID does not exist, the interface will not return an error, so it is inaccurate to judge the update status based on the returned code.
get free trial
We Offer 3-Day Free Trial for All New Users
No Limitations in Features
