Source: https://docs.luxid.lu/en/api/get-account-memberships/
API version: 1.9
OpenAPI specification: https://docs.luxid.lu/luxid-partner-api.yaml
Get group memberships of an account. Only groups managed by the calling partner are returned.
GET/accounts/:md5HashOfLowercaseEmail/memberships
Get group memberships of an account. Only groups managed by the calling partner are returned.
Request
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
md5HashOfLowercaseEmail | path | string | Yes | The MD5 hash of the (lowercase) email of the account. Example for email 'eXample@example.COM' -> md5('example@example.com') -> '23463b99b62a72f26ed677cc556c44e8' |
Responses
- 200
- 400
- 403
- 404
Success
Functional error
Forbidden
Not found
Response schemas
200 - Success
Content type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
memberships | array of object | No | |
memberships[].groupName | string | Yes | |
memberships[].accountEmail | string | No | Could be null in rare cases of legacy accounts |
400 - Functional error
Content type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
message | string | No | |
type | string | No |
403 - Forbidden
Content type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
message | string | No | |
type | string | No |
404 - Not found
Content type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
message | string | No | |
type | string | No |