All Products
Search
Document Center

Elastic High Performance Computing:UnTagResources

Last Updated:Apr 09, 2024

Removes tags from a specified resource.

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
RegionIdstringNo

The region ID of the resource.

cn-hangzhou
ResourceTypestringYes

The type of the resource from which you want to remove tags. Set the value to cluster, which indicates E-HPC clusters.

cluster
ResourceIdarrayYes

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

stringYes

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

ehpc-hz-xxxx
TagKeyarrayNo

The tag key of the resource. You can specify up to 20 tag keys.

stringNo

The tag key of the resource.

TestKey
AllbooleanNo

Specifies whether to remove all tags from the resource. This parameter is valid only when the TagKey.N parameter is not specified. Valid values:

  • true
  • false

Default value: false.

false

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

04F0F334-1335-436C-A1D7-6C044FE73368

Examples

Sample success responses

JSONformat

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParamsThe specified parameter %s is invalid.The specified parameter %s is invalid.
404ClusterNotFoundThe specified cluster does not exist.The specified instance does not exist.
406TagErrorTAG API request failed.-
407NotAuthorizedYou are not authorized by RAM for this request.The request is not authorized by RAM.
503ServiceUnavailableThe request has failed due to a temporary failure of the serverThe request has failed due to a temporary failure of the server.

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

Change history

Change timeSummary of changesOperation
No change history