Adds tags to resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:TagResources |
none |
*AppGroup
|
None | None |
Request syntax
POST /v4/openapi/resource-tags HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request parameters. |
|
| resourceType |
string |
Yes |
The resource type. |
ProductVersion |
| resourceId |
array |
Yes |
The IDs of the resources. You can specify up to 50 resource IDs. |
|
|
string |
No |
The ID of the resource. |
68968 |
|
| tag |
array<object> |
Yes |
The tags to add to the resources. You can add up to 20 tags. |
|
|
object |
No |
The internal English representation of the entity type. |
||
| key |
string |
No |
The tag key. |
cloud_manage |
| value |
string |
No |
The tag value. |
31261301 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| requestId |
string |
The request ID. |
ABCDEFGH |
Examples
Success response
JSON format
{
"requestId": "ABCDEFGH"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.