All Products
Search
Document Center

Resource Management:ListDelegatedAdministrators

Last Updated:Jun 25, 2024

Queries delegated administrator accounts.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServicePrincipalstringNo

The identifier of the trusted service.

For more information, see the Trusted service identifier column in Supported trusted services.

cloudfw.aliyuncs.com
PageNumberlongNo

The number of the page to return.

Pages start from page 1. Default value: 1.

1
PageSizelongNo

The number of entries to return on each page.

Valid values: 1 to 100. Default value: 10.

10

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The ID of the request.

009C3A02-7D4B-416C-9CE7-548C91508F1E
TotalCountlong

The total number of entries returned.

2
PageSizelong

The number of entries returned per page.

10
PageNumberlong

The page number of the returned page.

1
Accountsobject []

The information about the delegated administrator accounts.

AccountIdstring

The Alibaba Cloud account ID of the member.

138660628348****
DisplayNamestring

The display name of the member.

abc
JoinMethodstring

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

  • invited: The member is invited to join the resource directory.
  • created: The member is directly created in the resource directory.
created
ServicePrincipalstring

The identifier of the trusted service.

cloudfw.aliyuncs.com
DelegationEnabledTimestring

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

1616652684164

Examples

Sample success responses

JSONformat

{
  "RequestId": "009C3A02-7D4B-416C-9CE7-548C91508F1E",
  "TotalCount": 2,
  "PageSize": 10,
  "PageNumber": 1,
  "Accounts": {
    "Account": [
      {
        "AccountId": "138660628348****",
        "DisplayName": "abc",
        "JoinMethod": "created",
        "ServicePrincipal": "cloudfw.aliyuncs.com",
        "DelegationEnabledTime": "1616652684164"
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-05-18The internal configuration of the API is changed, but the call is not affectedsee changesets
Change itemChange content
The internal configuration of the API is changed, but the call is not affected.