Adds or updates tags for multiple resources.
Operation description
Method
POST
URI
/openapi/ha3/resource-tags
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:TagResources |
update |
*All Resource
|
None | None |
Request syntax
POST /openapi/ha3/resource-tags HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| resourceType |
string |
Yes |
The resource type. |
instance |
| resourceId |
array |
Yes |
The IDs of the resources. You can specify up to 50 IDs. |
|
|
string |
No |
The ID of the resource. |
es-cn-i7m2u6o2******* |
|
| tag |
array |
Yes |
The tags to add. You can specify a maximum of 20 tags. |
|
|
object |
No |
The tag. |
||
| key |
string |
No |
The tag key. |
opensearch |
| value |
string |
No |
The tag value. |
opensearch |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
E7B7D598-B080-5C8E-AA35-D43EC0D5F886 |
Examples
Success response
JSON format
{
"requestId": "E7B7D598-B080-5C8E-AA35-D43EC0D5F886"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.