Removes tags from resources.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
bssapi:UntagResources | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ResourceType | string | Yes | The resource type. Set the value to | instance |
All | boolean | No | Specifies whether to remove all tags. This parameter is valid only when | true |
| ResourceId | array | Yes | The list of resource IDs. | |
string | No | The resource ID. | spn-xxxxxx | |
| TagKey | array | No | The list of tag keys. | |
string | No | The tag key. The value of N can be an integer from 1 to 20. | codename |
Response elements
Parameter | Type | Description | Example |
object | The information about the return value. | ||
Code | string | The status code. | PARAM_ERROR |
Message | string | The error message. | This API is not applicable for caller. |
Data | boolean | The returned data. | true |
RequestId | string | The request ID. | C7C15585-8349-4C62-BEE4-5A391841B9BE |
Success | boolean | Indicates whether the request was successful. | true |
Examples
Success response
JSON format
{
"Code": "PARAM_ERROR",
"Message": "This API is not applicable for caller.",
"Data": true,
"RequestId": "C7C15585-8349-4C62-BEE4-5A391841B9BE",
"Success": true
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.