Skip to main content

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​

NameInTypeRequiredDescription
md5HashOfLowercaseEmailpathstringYesThe MD5 hash of the (lowercase) email of the account. Example for email 'eXample@example.COM' -> md5('example@example.com') -> '23463b99b62a72f26ed677cc556c44e8'

Responses​

Success

Response schemas​

200 - Success​

Content type: application/json

PropertyTypeRequiredDescription
membershipsarray of objectNo
memberships[].groupNamestringYes
memberships[].accountEmailstringNoCould be null in rare cases of legacy accounts

400 - Functional error​

Content type: application/json

PropertyTypeRequiredDescription
messagestringNo
typestringNo

403 - Forbidden​

Content type: application/json

PropertyTypeRequiredDescription
messagestringNo
typestringNo

404 - Not found​

Content type: application/json

PropertyTypeRequiredDescription
messagestringNo
typestringNo