Removes tags from Anti-DDoS Origin Enterprise instances.

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
Action String Yes UntagResources

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

RegionId String Yes cn-hangzhou

The ID of the region where the Anti-DDoS Origin Enterprise instances reside.

ResourceId.N RepeatList Yes ddosbgp-cn-v0h1fmwbc024

The IDs of Anti-DDoS Origin Enterprise instances. Valid values of N: 1 to 50. You can specify a maximum of 50 instances at a time. For example, ResourceId.1, ResourceId.2, ..., and ResourceId.50.

ResourceType String Yes INSTANCE

The type of the resource. Set the value to INSTANCE.

ResourceGroupId String No test

The ID of the resource group.

TagKey.N RepeatList No testKey1

The key of each tag. Valid values of N: 1 to 20. You can specify a maximum of 20 tag keys at a time. For example, Tag.1.Key, Tag.2.Key, ..., and Tag.20.Key.

All Boolean No false

Specifies whether to remove all tags from the specified Anti-DDoS Origin Enterprise instances.

Response parameters

Parameter Type Example Description
RequestId String F2D86AED-BA27-4584-BADC-B43BDA7EEBCA

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=UntagResources
&RegionId=cn-hangzhou
&ResourceId.1=ddosbgp-cn-v0h1fmwbc024
&ResourceType=INSTANCE
&TagKey.1=testKey1
&All=false
&<Common request parameters>

Sample success responses

JSON format

{
"requestId":"F2D86AED-BA27-4584-BADC-B43BDA7EEBCA"
}

XML format

<UntagResourcesResponse>
     <requestId>F2D86AED-BA27-4584-BADC-B43BDA7EEBCA</requestId>
</UntagResourcesResponse>

Error code

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