SPA Users

SPA: Retrieves a paginated list of Users

Returns a paginated list of users for the authenticated user's client. Requires ROLE_ADMIN.

GET/api/spa/users

Authorizations

X-AUTH-TOKEN
stringheaderrequired

Value for the X-AUTH-TOKEN header parameter.

Query Parameters

page
integerdefault:1

The collection page number

itemsPerPage
integerdefault:20

The number of items per page

pagination
boolean

Enable or disable pagination

email
string

No description provided.

active
boolean

No description provided.

order[id]
stringdefault:asc

No description provided.

order[email]
stringdefault:asc

No description provided.

order[active]
stringdefault:asc

No description provided.

order[createdAt]
stringdefault:asc

No description provided.

order[updatedAt]
stringdefault:asc

No description provided.

Response

200application/json

User collection

id
integer
email
string<email>
roles
string[]
adminNote
string | null
active
boolean

Available options: truefalse

Example: true

lastLoginDate
string<date-time> | null
locale
string

Example: "en"

createdBy
string

User, created this entry

Example: "user1@company.com"

updatedBy
string

User, updated this entry

Example: "user1@company.com"

createdAt
string<date-time>

UTC date time of entry creation

Example: "2024-08-23T00:00:00+00:00"

updatedAt
string<date-time>

UTC date time of last entry update

Example: "2024-08-23T00:00:00+00:00"