Listing all user accounts of a user group¶
Sends a GET request to the endpoint /user/group/{id}/users.
Description¶
The List-User-Group-Accounts request allows the user to request a list of all user accounts of a user group of the organisation.
Requirements¶
Values of the request: Group-ID {id}d}
Objects: none
Request¶
To request a list of all user accounts of a user group, the Group-ID {id} needs to be added to the path of the request.
As a result, the user gets one or more objects UserVO with the requested information.
The object provides the following information:
| Attributes | Description | Values |
|---|---|---|
email |
The email address of the user account. | string |
login |
The login name that is the same as the email address. | string |
firstname |
The first name of the user. | string |
lastname |
The name of the user. | string |
organizationId |
The id of the organisation to which the user account is assigned. | integer |
organizationName |
The name of the organisation to which the user account is assigned. | string |
active |
Shows if this is an active user account or if the user account is inactive. |
|
locked |
Shows if the user account is locked. |
|
agent |
Shows if the user account has agent permissions for this organisation. | |
tfaEnabled |
Shows if the user account has 2FA activated. |
|
tfaRequired |
Defines if the user account is forced to activate 2FA. |
|
roles |
An array with permission roles of a user account. |
|
rootGroupRoles |
An array with information about group permissions of the user account. |
|
sessions |
An array with one or more objects UserSessionVO with information about active sessions of the user account. |
|
isIndirectCustomer |
Shows if the user account is a user account of a partner or a direct customer of Myra. |
|
id |
The ID of the entry. | integer |
modified |
The last modification date in ISO 8601 format. | string($date-time) |
created |
The creation date in ISO 8601 format. | string($date-time) |
Example¶
Example response:
[
{
"email": "string",
"login": "string",
"firstname": "string",
"lastname": "string",
"organizationId": 0,
"organizationName": "string",
"active": "active",
"locked": true,
"agent": "string",
"tfaEnabled": true,
"tfaRequired": true,
"roles": "ADMINISTRATOR",
"rootGroupRoles": "ADMINISTRATOR",
"sessions": "string",
"isIndirectCustomer": true,
"id": 0,
"modified": "2026-01-01T00:00:00+00:00",
"created": "2026-01-01T00:00:00+00:00"
}
]
Responses¶
The following responses are available:
| STATUS CODE | DESCRIPTION |
|---|---|
| 200 | The request has succeeded. |
| 400 | The request was unsuccessful. The request was invalid or information is missing. |
| 401 | The request has not succeeded because the user authentication was incorrect. |
| 403 | The request has not succeeded because the user does not have the right permissions. |