Removes tags from a specified resource.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No | The region ID of the resource. | cn-hangzhou |
ResourceType | string | Yes | The type of the resource from which you want to remove tags. Set the value to cluster, which indicates E-HPC clusters. | cluster |
ResourceId | array | Yes | The resource IDs. You can specify up to 50 resource IDs. | |
string | Yes | The resource IDs. You can specify up to 50 resource IDs. | ehpc-hz-xxxx | |
TagKey | array | No | The tag key of the resource. You can specify up to 20 tag keys. | |
string | No | The tag key of the resource. | TestKey | |
All | boolean | No | Specifies whether to remove all tags from the resource. This parameter is valid only when the TagKey.N parameter is not specified. Valid values:
Default value: false. | false |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParams | The specified parameter %s is invalid. | The specified parameter %s is invalid. |
404 | ClusterNotFound | The specified cluster does not exist. | The specified instance does not exist. |
406 | TagError | TAG API request failed. | - |
407 | NotAuthorized | You are not authorized by RAM for this request. | The request is not authorized by RAM. |
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The 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 time | Summary of changes | Operation |
---|
No change history