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.

ResourceGroupId String No test

The ID of the resource group.

RegionId String Yes cn-hangzhou

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

ResourceType String Yes INSTANCE

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

All Boolean No false

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

ResourceId.N String Yes ddosbgp-cn-v0h1fmwbc024

The IDs of Anti-DDoS Origin Enterprise instances. Valid values of N: 0 to 49. You can specify a maximum of 50 instances at a time. Example: ResourceId.0, ResourceId.1, ... , ResourceId.49.

TagKey.N String No testKey1

The key of tag N that you want to unbind. Valid values of N: 0 to 19. You can specify a maximum of 20 tag keys at a time. Example: Tag.0.Key, Tag.1.Key, ... , Tag.19.Key.

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
&ResourceGroupId=test
&RegionId=cn-hangzhou
&ResourceType=INSTANCE
&All=false
&ResourceId=["ddosbgp-cn-v0h1fmwbc024"]
&TagKey=["testKey1"]
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

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

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

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

Error codes

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