You can call this operation to unbind a tag from a specified resource, such as an SSL Certificates Service instance.

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 region of the organization to which the owner of the certificate belongs.

ResourceId.N RepeatList Yes cas-cn-4591d3xam0xx

The ID of the SSL Certificates Service instance.

The number N is used to specify the number of instances. Valid values of N: 1 to 50. For example, this parameter can be set to 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 to which the SSL Certificates Service instance belongs.

TagKey.N RepeatList No testKey1

The key of the tag to be unbound from the resource.

The number N is used to specify the number of tag keys. Valid values of N: 1 to 20. For example, this parameter can be set to Tag.1.Key, Tag.2.Key, ..., and Tag.20.Key.

All Boolean No false

Specifies whether to delete all the tags bound to the resource. This parameter only takes effect when the TagKey.N parameter is not specified in the request.

Default value: false

Response parameters

Parameter Type Example Description
RequestId String 2D69A58F-345C-4FDE-88E4-BF5189484043

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=UntagResources
&RegionId=cn-hangzhou
&ResourceId.1=cas-cn-4591d3xam0xx
&ResourceType=instance
&<Common request parameters>

Sample success responses

XML format

<UntagResourcesResponse>
      <RequestId>2D69A58F-345C-4FDE-88E4-BF5189484043</RequestId>
</UntagResourcesResponse>

JSON format

{
    "RequestId": "2D69A58F-345C-4FDE-88E4-BF5189484043"
}

Error codes

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