Get users with groups
Use GET /v1/accounts/{account-uuid}/users/groups
to get all users with groups.
Endpoint
/v1/accounts/{account-uuid}/users/groups
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
account-uuid | string | - | path | required |
pageNumber | integer | - | query | optional |
pageSize | integer | - | query | optional |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Rest | Get users |
404 | ExceptionMessage | Could not find requested account |
Response body objects
The ResponseBody
object
The object doesn't provide any parameters.
The RestUserWithGroups
object
Element | Type | Description |
---|---|---|
uid | string | - |
string | - | |
name | string | - |
surname | string | - |
password | string | - |
company | string | - |
countryCode | string | - |
userStatus | string | - |
accountUuids | string[] | - |
ownerAccountUuid | string | - |
type | string | - |
dcsActive | boolean | - |
passwordChangedAt | string | - |
userLoginMetadata | Rest | - |
createdAt | string | - |
updatedAt | string | - |
groups | Rest | - |
The RestUserLoginMetadata
object
Element | Type | Description |
---|---|---|
successfulLoginCounter | integer | - |
failedLoginCounter | integer | - |
lastSuccessfulLogin | string | - |
lastFailedLogin | string | - |
resetPasswordTokenSentAt | string | - |
lastSuccessfulBasicAuthentication | string | - |
createdAt | string | - |
updatedAt | string | - |
The RestUserGroup
object
Element | Type | Description |
---|---|---|
groupName | string | - |
uuid | string | - |
owner | string | - |
description | string | - |
accountUUID | string | - |
accountName | string | - |
federatedAttributeValues | string[] | - |
createdAt | string | - |
updatedAt | string | - |
Response body JSON model
[
{
"uid": "string",
"email": "string",
"name": "string",
"surname": "string",
"password": "string",
"company": "string",
"countryCode": "string",
"userStatus": "string",
"accountUuids": [
"string"
],
"ownerAccountUuid": "string",
"type": "string",
"dcsActive": true,
"passwordChangedAt": "string",
"userLoginMetadata": {
"successfulLoginCounter": 1,
"failedLoginCounter": 1,
"lastSuccessfulLogin": "string",
"lastFailedLogin": "string",
"resetPasswordTokenSentAt": "string",
"lastSuccessfulBasicAuthentication": "string",
"createdAt": "string",
"updatedAt": "string"
},
"createdAt": "string",
"updatedAt": "string",
"groups": [
{
"groupName": "string",
"uuid": "string",
"owner": "string",
"description": "string",
"accountUUID": "string",
"accountName": "string",
"federatedAttributeValues": [
"string"
],
"createdAt": "string",
"updatedAt": "string"
}
]
}
]