Request examples
Minimal
{
"action": "listAccounts",
"authToken": "replaceWithAuthTokenFromCreateSession"
}Maximal
{
"api": "admin",
"action": "listAccounts",
"params": {
"partialNames": [
"adm",
"NewAccount"
]
},
"requestId": "1",
"authToken": "replaceWithAuthTokenFromCreateSession"
}
Properties
Request properties ("params")
| Property | Description | Default | Type | Limits (inclusive) |
|---|---|---|---|---|
partialNames |
The "params": {
"partialNames": [
"adm",
"NewAccount"
]
}, |
Optional with default of []
|
array | 1 to 64 bytes |
Response properties ("result")
| Property | Description | Type | Limits (inclusive) |
|---|---|---|---|
accounts |
The "accounts": [
{
"username": "admin",
"accountDescription": "",
"lockoutAfterNFailedAttempts": 0,
"maxDaysBeforePasswordMustChange": 0,
"maxMinutesBeforeNextLogin": 0,
"memoryLimit": 0,
"memoryRule": "default",
"roles": [
{
"roleName": "ADMIN"
}
]
}
|
array of objects | One object per matching account. |
|
accounts .roleNames |
The |
array of strings | An array of 1 or more strings between 1 and 64 bytes. |
|
accounts .username |
The It is required by the All API actions are performed in the context of the account identified by In JSON DB API and JSON Hub API, use the Unlike other property names, such as A zero-length username is invalid.
In Key-Value actions, the
|
string
|
1 to 64 bytes |