Skip to main content
GET
/
users
List all users
curl --request GET \
  --url http://localhost:3001/portal-api/users \
  --header 'Authorization: <api-key>'
[
  {
    "Active": true,
    "Email": "admin@acme.com",
    "First": "John",
    "Last": "Doe",
    "OrganisationID": 1,
    "Role": "consumer-team-member",
    "Provider": "password",
    "ID": 1
  }
]

Authorizations

Authorization
string
header
required

Response

200 - application/json

OK

Active
boolean

Defines if this user is active and can login to the portal

Example:

true

Email
string

Email of a user

Example:

"admin@acme.com"

First
string

First name of a user

Example:

"John"

Last
string

Last name of a user

Example:

"Doe"

OrganisationID
integer

ID of an organisation where this user belongs to. For admin users it is always equal to 0

Example:

1

Role
string

Role of a user in their organisation

Example:

"consumer-team-member"

Provider
string

Type of identity provider for this user, e.g. password, github, etc.

Example:

"password"

ID
integer

UID of a user

Example:

1