Adds a tag to assets.
Operation description
Security Center provides asset importance tags and custom tags. You can call the AddTagWithUuid operation to add only a custom tag to assets.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TagName | string | Yes | The name of the tag. | InternetIp |
UuidList | string | No | The UUIDs of the servers. Separate multiple UUIDs with commas (,). Note
You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
| 71f5313e-4355-4c59-86d1-557dda7b****,71f5313e-4355-4c59-86d1-557dda7b**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history