All Products
Search
Document Center

MaxCompute:ListUsers

Last Updated:Mar 03, 2024

Obtains users in a MaxCompute project.

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 syntax

GET /api/v1/users

Request parameters

ParameterTypeRequiredDescriptionExample
pageNumberintegerNo

The number of the page to return.

1
pageSizeintegerNo

The number of entries to return on each page.

10

Response parameters

ParameterTypeDescriptionExample
object

PopResult<ListResultDTO<UserAccount, DefaultPageInfo>>

requestIdstring

The ID of the request.

0a06dd4816687424611405643e3730
dataobject

The returned data.

usersobject []

The users.

accountIdstring

The ID of the Alibaba Cloud account.

167835629082
accountNamestring

The username of the account.

Bob@
displayNamestring

The display name.

Bob
accountTypestring

The type of the account.

ALIYUN
tenantIdstring

The ID of the tenant.

1567253789
totalCountinteger

The total number of returned entries.

64
pageNumberinteger

The page number of the returned page.

2
pageSizeinteger

The number of entries returned per page.

10

Examples

Sample success responses

JSONformat

{
  "requestId": "0a06dd4816687424611405643e3730",
  "data": {
    "users": [
      {
        "accountId": "167835629082",
        "accountName": "Bob@",
        "displayName": "Bob",
        "accountType": "ALIYUN",
        "tenantId": "1567253789"
      }
    ],
    "totalCount": 64,
    "pageNumber": 2,
    "pageSize": 10
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history