UntagResources
Removes tags from resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:UntagResources |
update |
*AccessConfiguration
*User
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
No |
The directory ID. |
d-00fc2p61**** |
| ResourceId |
array |
Yes |
The list of resource IDs. You can specify up to 50 resource IDs in a single call. Note
Important If the DirectoryId parameter is not specified, you must add the prefix "${DirectoryId}_" to the resource ID. |
|
|
string |
Yes |
The resource ID. |
u-00q8wbq42wiltcrk**** ac-00ccule7tadaijxc**** |
|
| ResourceType |
string |
Yes |
The resource type. Users and access configurations are supported.
|
user |
| TagKey |
array |
No |
The list of tag keys. You can specify up to 20 tag keys in a single call. |
|
|
string |
No |
The tag key. Note
|
key |
|
| All |
boolean |
No |
Specifies whether to remove all tags. This parameter takes effect only when the list of tag keys is empty. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
66898413-EB80-556D-9429-06FE3548F672 |
Examples
Success response
JSON format
{
"RequestId": "66898413-EB80-556D-9429-06FE3548F672"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.