Creates a tag.


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
TagName String Yes vme

The name of the tag.

AccessKeyId String No xxx

The AccessKey ID provided to you by Alibaba Cloud.

Action String No CreateTag

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

Response parameters

Parameter Type Example Description
RequestId String 10A1AD70-E48E-476D-98D9-39BD92193837

The ID of the request.

TagId String xxxx

The ID of the tag.


Sample requests

http(s):// Action=CreateTag
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.