Skip to main content

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.

Request

Query Parameters

    accountId int32

    Logz.io sub-account ID.

Responses

successful operation

Schema
  • Array [
  • id int32

    ID of the user

    username string

    Email address used to sign in to Logz.io

    fullName string

    First and last name of the user

    accountID int32

    Logz.io account ID.

    role string

    User role. Can be USER_ROLE_READONLY, USER_ROLE_REGULAR or USER_ROLE_ACCOUNT_ADMIN.

    active boolean

    If the user is active, true. If the user is suspended, false.

  • ]
Loading...