All Products
Search
Document Center

Tablestore:TagResources

Last Updated:Nov 11, 2024

Adds tags to instances.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /v2/openapi/tagresources HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The request body.

ResourceTypestringYes

The type of the resource. valid value:

instance: instance

instance
ResourceIdsarrayYes

The resource IDs, which are instance names.

stringYes

The resource ID, which is the instance name.

c-74b774f34061e022
Tagsarray<object>Yes

The tags.

objectYes

The tag.

KeystringYes

The tag key.

created
ValuestringYes

The tag value.

job-0007z8j1omiabo5i872l

Response parameters

ParameterTypeDescriptionExample
object

The returned struct.

RequestIdstring

The request ID, which can be used to troubleshoot issues.

44FDC379-4443-560E-B652-9F7476D8854F

Examples

Sample success responses

JSONformat

{
  "RequestId": "44FDC379-4443-560E-B652-9F7476D8854F"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history