Skip to main content

"listAccounts" (jsonAction)

List all accounts that the logged-in account is authorized to see

Links: Concepts | Tutorials | FAQs

Request examples

{
  "api": "admin",
  "action": "listAccounts",
  "authToken": "replaceWithAuthTokenFromCreateSession"
}
{
  "api": "admin",
  "action": "listAccounts",
  "params": {
    "partialNames": [
      "adm",
      "NewAccount"
    ]
  },
  "requestId": "1",
  "authToken": "replaceWithAuthTokenFromCreateSession"
}

Use the listAccounts API action to list all accounts that the logged-in account is authorized to see

listAccounts
seznamovat
listAccount
list account
API action
JSON ADMIN API
Nosferatu
jsonAction
Table 1. "params" property summaries

Property

Description

Default

Type

Limits (inclusive)

partialNames

(optional) returns accounts with usernames that match at least part of one or more of the specified values

[]

array