Queries the trusted services for which a member is specified as a delegated administrator account.
Operation description
The following example queries the trusted services for which member 138660628348**** is a delegated administrator account. The response shows that the member is a delegated administrator account of Cloud Firewall.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcemanager:ListDelegatedServicesForAccount |
list |
*Account
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AccountId |
string |
Yes |
The ID of the member. |
138660628348**** |
For more information about common request parameters, see Common parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
D9C03B94-9396-4794-A74B-13DC437556A6 |
| DelegatedServices |
object |
||
| DelegatedService |
array<object> |
The trusted services. Note
If this parameter is empty, the member is not a delegated administrator account. |
|
|
object |
|||
| DelegationEnabledTime |
string |
The time when the member was specified as a delegated administrator account of the trusted service. |
1616652684164 |
| ServicePrincipal |
string |
The identifier of the trusted service. |
cloudfw.aliyuncs.com |
| Status |
string |
The status of the trusted service. Valid values:
|
ENABLED |
Examples
Success response
JSON format
{
"RequestId": "D9C03B94-9396-4794-A74B-13DC437556A6",
"DelegatedServices": {
"DelegatedService": [
{
"DelegationEnabledTime": "1616652684164",
"ServicePrincipal": "cloudfw.aliyuncs.com",
"Status": "ENABLED"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.