cURL
curl --request GET \ --url https://auth.nullpass.xyz/api/admin/users \ --header 'Authorization: Bearer <token>'
{ "users": [ { "id": "<string>", "email": "jsmith@example.com", "username": "<string>", "displayName": "<string>", "avatar": "<string>", "twoFactorEnabled": true, "createdAt": "2023-11-07T05:31:56Z" } ], "pagination": { "page": 123, "limit": 123, "totalCount": 123, "totalPages": 123, "hasMore": true } }
List all users (admin only)
GET /api/admin/users
accessFlags
INTERNAL_SECRET
x-internal-secret
Show User Object
Show Service Access Object
Show Pagination Object
accessFlags.isNullDropTeam
true
accessFlags.nullDropTeamRole
"founder"
"dev"
curl -X GET "https://auth.nullpass.xyz/api/admin/users?page=1&limit=20" \ -H "Authorization: Bearer YOUR_TOKEN"
{ "users": [ { "id": "clx1234567890", "email": "user@example.com", "displayName": "User Name", "avatar": "clx1234567890/avatar_1234567890.jpg", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2024-01-02T00:00:00.000Z", "serviceAccess": { "tier": "premium", "isPremium": true, "accessFlags": { "isNullDropTeam": false }, "metadata": {}, "customStorageLimit": null, "customApiKeyLimit": null } } ], "pagination": { "page": 1, "limit": 20, "totalCount": 1000, "totalPages": 50, "hasMore": true } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of users
Show child attributes