Removes tags from resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UntagResources |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region. |
cn-hangzhou |
| ResourceType |
string |
Yes |
The type of the resource. Valid values:
|
CLUSTER |
| All |
boolean |
No |
Whether to delete all tags. This parameter takes effect only when the TagKey.N parameter is not specified. Valid values:
Default value: false. |
true |
| ResourceId |
array |
Yes |
The resource IDs. A maximum of 50 resource IDs can be specified. |
|
|
string |
No |
The instance ID. Note
Pass instance IDs as indexed parameters. Examples:
|
mse-cn-7pp2st29t16 |
|
| TagKey |
array |
No |
The tag keys. A maximum of 20 tag keys are supported. |
|
|
string |
No |
The tag key. Valid values of N: 1 to 20. The tag key cannot be an empty string. It must be 1 to 128 characters in length and cannot start with acs: or aliyun or contain http:// or https://. |
env |
|
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
58E06A0A-BD2C-47A0-99C2-B100F353**** |
| Message |
string |
The message returned. |
The request was successfully processed. |
| ErrorCode |
string |
The error code returned if the request failed. |
mse-100-000 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "58E06A0A-BD2C-47A0-99C2-B100F353****",
"Message": "The request was successfully processed.\n",
"ErrorCode": "mse-100-000",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.