Unbinds tags from cloud resources in a unified manner.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:UntagCloudResources |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The resource type. Valid values:
|
AppInstanceGroupId |
| ResourceIds |
array |
No |
The list of resource IDs. A maximum of 50 resource IDs are supported. You do not need to specify this parameter when the resource type is tenant ID. |
|
|
string |
Yes |
The resource ID. |
aig-0009 |
|
| TagKeys |
array |
Yes |
The list of tags. System tags and custom tags are supported. You can specify up to 10 tags. Enumerated values for system tags:
|
|
|
string |
Yes |
The tag key. This parameter is case-sensitive. Length: 1 to 128 characters. |
System/Scheduler/GRAYSCALE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
E25FC620-6B6F-12D2-A992-AD8727DC**** |
| FailedResources |
array<object> |
The list of failed resources and tag information. |
|
|
array<object> |
The failed resource and tag information. |
||
| ResourceType |
string |
The cloud resource type. Valid values:
|
AppInstanceGroupId |
| ResourceId |
string |
The resource ID. |
aig-00000001 |
| Tags |
array<object> |
The list of failed tag information. |
|
|
object |
The failed tag information. |
||
| Key |
string |
The tag key. |
Resolution |
| Scope |
string |
The tag type. Valid values:
Valid values:
|
Custom |
| Code |
string |
The error code. |
UNTAG_RESOURCE_FAILED |
| Message |
string |
The error message. |
Failed to untag resource. |
Examples
Success response
JSON format
{
"RequestId": "E25FC620-6B6F-12D2-A992-AD8727DC****",
"FailedResources": [
{
"ResourceType": "AppInstanceGroupId",
"ResourceId": "aig-00000001",
"Tags": [
{
"Key": "Resolution",
"Scope": "Custom"
}
],
"Code": "UNTAG_RESOURCE_FAILED",
"Message": "Failed to untag resource."
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServiceUnavailable | Service unavailable. Please try again later. | Service unavailable. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.