Adds or modifies tags for resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:TagResources |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
en |
| ResourceType |
string |
Yes |
The resource type. Valid value:
|
DOMAIN |
| Tag |
array<object> |
Yes |
An array of tag key-value pairs. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key. The key cannot start with |
abcd |
| Value |
string |
No |
The tag value. The value cannot be longer than 20 bytes. |
abcd |
| ResourceId |
array |
Yes |
The IDs of the resources. |
dns-example.com |
|
string |
No |
The domain name. |
example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
635B0CCD-15A7-48C9-B4D6-628FF57FF4B8 |
Examples
Success response
JSON format
{
"RequestId": "635B0CCD-15A7-48C9-B4D6-628FF57FF4B8"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.