All Products
Search
Document Center

Direct Mail:ModifyTag

Last Updated:Mar 13, 2024

Modifies a tag.

Debugging

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

TagId

Integer

Yes

123

The ID of the tag.

TagName

String

Yes

vme

The name of the tag.

AccessKeyId

String

No

xxxx

The AccessKey ID provided to you by Alibaba Cloud.

Action

String

No

ModifyTag

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

TagDescription

String

No

tagdescription

the description of the tag.

Response parameters

Parameter

Type

Example

Description

RequestId

String

10A1AD70-E48E-476D-98D9-39BD92193837

The ID of the request.

Examples

Sample requests

http(s)://dm.aliyuncs.com/? Action=ModifyTag
&TagId=123
&TagName=vme
&TagDescription=tagdescription
&<Common request parameters>

Sample success responses

XML format

<ModifyTagResponse>
      <RequestId>10A1AD70-E48E-476D-98D9-39BD92193837</RequestId>
</ModifyTagResponse>

JSON format

{
	"RequestId":"10A1AD70-E48E-476D-98D9-39BD92193837"
}

Error codes

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