Retrieve all users
GET/v1/user-management
Returns a list of users as an array of JSON objects. If you run this endpoint without the accountID, then you will retrieve all users within the account the token of which you provide. If you run this endpoint with the accountID, then you will retrieve users only from the given accountID. In this case you must run it with the token of the main account that the accountID belongs to. Please ensure to change the region in the URL to match your account's region.
Request
Query Parameters
Logz.io sub-account ID.
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
ID of the user
Email address used to sign in to Logz.io
First and last name of the user
Logz.io account ID.
User role. Can be USER_ROLE_READONLY
, USER_ROLE_REGULAR
or USER_ROLE_ACCOUNT_ADMIN
.
If the user is active, true
. If the user is suspended, false
.
[
{
"id": 33265,
"username": "steve@winslows.com",
"fullName": "Stefan Urkel",
"accountID": 55555,
"role": "USER_ROLE_READONLY",
"active": true
}
]