All Products
Search
Document Center

Web Application Firewall:UntagResources

Last Updated:Apr 24, 2024

Removes tags from resources and then deletes the tags.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:

  • cn-hangzhou: Chinese mainland.
  • ap-southeast-1: outside the Chinese mainland.
cn-hangzhou
ResourceTypestringYes

The type of the resource. Set the value to ALIYUN::WAF::DEFENSERESOURCE.

ALIYUN::WAF::DEFENSERESOURCE
AllbooleanNo

Specifies whether to remove all tags from the specified resource groups or members. Valid values:

  • false (default)
  • true
false
ResourceIdarrayYes

The resource IDs. You can specify up to 50 resource IDs.

stringYes

The resource ID.

demo.xxxxaliyundoc.com-waf
TagKeyarrayNo

The tag keys. You can specify up to 20 tag keys.

stringNo

The tag key.

demoTagKey

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

7A4B8DB1-A8B0-5362-A65D-6A55****07C5

Examples

Sample success responses

JSONformat

{
  "RequestId": "7A4B8DB1-A8B0-5362-A65D-6A55****07C5"
}

Error codes

For a list of error codes, visit the Service error codes.