User Info List

Last updated: 2019-09-19 15:48:15

This feature is currently in beta. If you want to try this feature in the console, submit a ticket to be whitelisted.

1. API Description

This API (ListUser) is used to enumerate the information of all users.

API domain name:

2. Input Parameters

The list below contains only the API request parameters. Other parameters can be found in Common Request Parameters.

Parameter Name Required Type Description
instanceId Yes String Instance ID
searchWord No String (Filter) Filter by username. Fuzzy search is supported
offset No String Offset. Default value is 0 if left empty
limit No String Number of results to be returned. Default value is 10 if left empty. Maximum value is 20

3. Output Parameters

Parameter Name Type Description
users Array List of users
userId Int User ID
name String Username
adminFlag Int Flag indicates whether the user is an admin
ctime String Creation time
mtime String Last modified time

4. Samples


  &<Common Request Parameters>


    "code": 0,
    "message": "",
    "codeDesc": "Success",
    "data": {
        "users": [
                "userId": 14,
                "name": "tesst2342",
                "ctime": "2018-04-12 20:08:33",
                "mtime": "2018-04-12 20:41:34"
                "userId": 15,
                "name": "tesst2f342",
                "ctime": "2018-04-12 20:08:36",
                "mtime": "2018-04-12 20:08:36"
                "userId": 16,
                "name": "tesst2fsd342",
                "ctime": "2018-04-12 20:08:39",
                "mtime": "2018-04-12 20:08:39"
        "totalCount": 3