All Products
Search
Document Center

Direct Mail:DeleteTag

Last Updated:Jul 19, 2024

Deletes 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.

AccessKeyId String No xxxx

The AccessKey ID provided to you by Alibaba Cloud.

Action String No DeleteTag

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

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=DeleteTag
&TagId=123
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

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