Get a user's group memberships

Use GET /v1/accounts/{account-uuid}/users/{email}/groups to fetch a user's group memberships.

Endpoint

/v1/accounts/{account-uuid}/users/{email}/groups

Parameters

Parameter Type Description In Required
account-uuid string path required
email string path required

Response

Response codes

Code Description
200

User groups fetched successfully

400

Invalid email or account uuid

404

User not found or does not belong to account

Response body

The NotFoundException object

Element Type Description
cause Throwable
stackTrace StackTraceElement[]
message string
suppressed Throwable[]
localizedMessage string

The StackTraceElement object

Element Type Description
classLoaderName string
moduleName string
moduleVersion string
methodName string
fileName string
lineNumber integer
className string
nativeMethod boolean

The Throwable object

Element Type Description
cause Throwable
stackTrace StackTraceElement[]
message string
suppressed Throwable[]
localizedMessage string

The ExceptionMessage object

Element Type Description
reason string
reasons Reason[]

The Reason object

Element Type Description
id string
message string

The RestUserWithGroups object

Element Type Description
uid string
email string
name string
surname string
password string
company string
countryCode string
userStatus string
accountUuids string[]
ownerAccountUuid string
type string
dcsActive boolean
passwordChangedAt string
userLoginMetadata RestUserLoginMetadata
createdAt string
updatedAt string
groups RestUserGroup[]

The RestUserGroup object

Element Type Description
groupName string
uuid string
owner string
description string
accountUUID string
accountName string
federatedAttributeValues string[]
createdAt string
updatedAt string

The RestUserLoginMetadata object

Element Type Description
successfulLoginCounter integer
failedLoginCounter integer
lastSuccessfulLogin string
lastFailedLogin string
resetPasswordTokenSentAt string
lastSuccessfulBasicAuthentication string
createdAt string
updatedAt string