{{url}}/v1/tag/rename
Parameter | Example Value | Required | Type | Description |
---|---|---|---|---|
token | Yes | string | authentication token | |
tagId | Yes | string | group id | |
name | Yes | string | new name for the group |
{
"data": {
"tagId": "1024"
},
"code": 0,
"msg": "OK"
}
Parameter | Type | Description |
---|---|---|
tagId | string | group id |
code | int | 0: Successful; not 0: failed |
{
"data": {},
"code": 416,
"msg": "Name already exists"
}
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.
We Offer 3-Day Free Trial for All New Users
No Limitations in Features