You can call this operation to add tags for assets.

You can call this operation to add tags for multiple assets or add multiple tags for one asset.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes AddAssetTags

The operation that you want to perform. Set the value to AddAssetTags.

Assets.N RepeatList Yes ['', '']

Specifies asset N to add tags to.

Lang String No zh

The language in which the responses are returned.

  • zh: Chinese
  • en: English
SourceIp String No

The source IP address of the request.

Tags.N RepeatList No ['tag1','tag2']

Specifies tag N to be added.

Response parameters

Parameter Type Example Description
RequestId String 0C992F5D-8568-41B4-9685-05C0DAEAE9D7

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=AddAssetTags
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For more information about error codes, visit API Error Center.