UpdateTag
Updates a tag node.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
No |
The complete JSON string. For more information, see the following details. |
“” |
| BaseMeAgentId |
integer |
No |
The workspace ID. |
123456 |
| Field | Type | Required | Value | Description |
tagId | Long | Yes | 100231 | The ID of the tag node to be updated. |
name | String | No | "After-sales service" | The tag name. The name must be 1 to 64 characters in length. If you do not specify this parameter, the tag name is not modified. |
description | String | No | "Covers after-sales processes such as refunds, returns, repairs, and consultations." | The tag description. An empty string clears the description. If you do not specify this parameter, the description is not modified. |
parentTagId | Long | No | 100100 | The ID of the parent node. This parameter is used to move the node. If you do not specify this parameter, the parent node is not modified. If you specify a new value, the current node is moved under the specified parent node. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
3CEA0495-341B-4482-9AD9-8191EF4*** |
| Data |
object |
The returned result. |
|
| TagId |
integer |
The tag ID. |
128 |
| Name |
string |
The tag name. |
After-sales service |
| Description |
string |
The tag description. |
Covers after-sales processes such as refunds, returns, repairs, and consultations |
| ParentTagId |
integer |
The ID of the parent tag node. |
-1 |
| CreateTime |
integer |
The time when the tag node was created. |
1748428991000 |
| ModifyTime |
integer |
The time when the tag node was last modified. |
1748431368000 |
| Code |
string |
The result code. A value of 200 indicates success, whereas any other value indicates failure. You can use this field to determine the cause of the failure. |
200 |
| Success |
boolean |
Indicates whether the call was successful. Valid values: true: The call was successful. false: The call failed. |
true |
| Message |
string |
The error message returned when an error occurs. |
successful |
Examples
Success response
JSON format
{
"RequestId": "3CEA0495-341B-4482-9AD9-8191EF4***\t",
"Data": {
"TagId": 128,
"Name": "售后服务",
"Description": "涵盖退款、退货、维修、咨询等售后链路",
"ParentTagId": -1,
"CreateTime": 1748428991000,
"ModifyTime": 1748431368000
},
"Code": "200",
"Success": true,
"Message": "successful"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.