For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI ReferenceRelease notes
DocumentationAPI ReferenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Integration API routes
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTCreate a group
        • POSTCreate a role
        • DELDelete a group
        • DELDelete a role
        • GETExtract CSV data of accounts, groups, and roles
        • POSTForce a user to log out
        • GETGet a list of groups
        • GETGet a list of methods
        • GETGet a list of roles
        • GETGet a list of views
        • GETGet a simplified list of groups
        • GETGet an individual account
        • GETGet an individual group
        • GETGet an individual role
        • GETList all accounts
        • PATCHUpdate a group
        • PATCHUpdate a role
        • PATCHUpdate an account
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceAuthorization

List all accounts

GET
http://localhost:3000/authorization/accounts
GET
/authorization/accounts
$curl http://localhost:3000/authorization/accounts \
> -u "<username>:<password>"
1{
2 "results": {
3 "provenance": "Local AAA",
4 "username": "john_doe",
5 "firstname": "John",
6 "memberOf": [
7 {
8 "aaaManaged": true,
9 "groupId": "5cb7b531d06cceb89fd21b1c"
10 }
11 ],
12 "assignedRoles": [
13 {
14 "roleId": "5cb7b531d06cceb89fd21b1c"
15 }
16 ],
17 "inactive": true,
18 "gitTokens": {
19 "GitHub": "string",
20 "GitLab": "string"
21 },
22 "lastLogin": "2018-08-02T15:56:12.912Z",
23 "sso": true,
24 "nameID": "string",
25 "_meta": {
26 "created": "2018-08-02T15:56:12.912Z",
27 "updated": "2018-08-02T15:56:12.912Z"
28 },
29 "email": "name@email.com",
30 "isServiceAccount": true,
31 "loggedIn": true
32 },
33 "total": 1
34}
Returns all accounts.
Was this page helpful?
Previous

Update a group

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Query parameters

multiContainsobjectOptional
multiContains
multiEqualsobjectOptional
multiEquals
multiStartsWithobjectOptional
multiStartsWith
inactivebooleanOptional
inactive
isServiceAccountbooleanOptional
isServiceAccount
groupIdstringOptionalformat: "^[0-9a-f]{24}$"
groupId
skipintegerOptional>=0Defaults to 0
skip
limitintegerOptional>=0Defaults to 25
limit
sortenumOptionalDefaults to name
sort
Allowed values:
orderenumOptionalDefaults to 1
order
Allowed values:
loggedInbooleanOptional
loggedIn

Response

The accounts matching the specified query.
resultsobject
This is the schema for an IAP account stored in Mongo
totalinteger>=0
The total number of documents

Errors

500
Internal Server Error