Queries delegated administrator accounts.

In this example, all delegated administrator accounts in a resource directory are queried. The returned result shows that two delegated administrator accounts for Cloud Firewall exist in the resource directory.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListDelegatedAdministrators

The operation that you want to perform. Set the value to ListDelegatedAdministrators.

ServicePrincipal String No cloudfw.aliyuncs.com

The identification of the trusted service.

For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Example Description
Accounts Array of Account

The information of the delegated administrator accounts.

AccountId String 138660628348****

The ID of the member account.

DelegationEnabledTime String 1616652684164

The time when the member account was specified as a delegated administrator account.

DisplayName String abc

The name of the member account.

JoinMethod String created

The way in which the member account joined the resource directory. Valid values:

  • invited: The member account is invited to join the resource directory.
  • created: The member account is directly created in the resource directory.
ServicePrincipal String cloudfw.aliyuncs.com

The identification of the trusted service.

RequestId String 009C3A02-7D4B-416C-9CE7-548C91508F1E

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "009C3A02-7D4B-416C-9CE7-548C91508F1E",
  "Accounts": {
    "Account": [
        "DelegationEnabledTime": "1616652684164",
        "JoinMethod": "created",
        "AccountId": "138660628348****",
        "ServicePrincipal": "cloudfw.aliyuncs.com",
        "DisplayName": "abc"
        "DelegationEnabledTime": "1616489836069",
        "JoinMethod": "invited",
        "AccountId": "177242285274****",
        "ServicePrincipal": "cloudfw.aliyuncs.com",
        "DisplayName": "test"

Error codes

For a list of error codes, visit the API Error Center.