Removes tags from specified resources of Data Lake Analytics (DLA) CU Edition.

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 ID of the resource. You can call the DescribeRegions operation to query the most recent region list.

ResourceId.N RepeatList Yes dla-qw4hqmvxrwqdya8m2qq***

The IDs of resources. Valid values of N: 1 to 50.

ResourceType String Yes instance

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

TagKey.N RepeatList No tagKey1

The tag keys of the resource. Valid values of N: 1 to 20. The value of this parameter can be an empty string. A tag key can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.

All Boolean No false

Specifies whether to remove all the tags from the resources. This parameter takes effect only when the TagKey.N parameter is not specified in the request. Default value: false.

Response parameters

Parameter Type Example Description
RequestId String 8E2FE3CD-6982-42D0-9036-097D13F4231D

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<requestId>67808368-9732-479D-A902-D7800A9D4289</requestId>

JSON format

{
  "requestId": "67808368-9732-479D-A902-D7800A9D4289"
}

Error codes

HTTP status code Error code Error message Description
600 Openanalytics.Internal.Exception An internal error occurred. The error message returned because an internal error has occurred.

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