TagResources
Tags resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:TagResources |
update |
*User
*AccessConfiguration
|
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. Valid values:
Valid values:
|
user |
| Tag |
array<object> |
Yes |
The list of tags. You can add up to 20 tags in a single call. |
|
|
object |
Yes |
|||
| Key |
string |
Yes |
The tag key. Note
|
key |
| Value |
string |
Yes |
The tag value. Note
|
value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
B182C041-8C64-5F2F-A07B-FC67FAF89CF9 |
Examples
Success response
JSON format
{
"RequestId": "B182C041-8C64-5F2F-A07B-FC67FAF89CF9"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.