Returns the groups a user belongs to, along with their role in each group. By default, returns memberships for the authenticated user. Admins may impersonate another user by providing the userID query parameter.
Request
Authorization
Query Params
Responses
🟢200OK
application/json
List of group memberships
Body
🟠400Bad Request
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://mock.apidog.com/m1/1126461-0-default/user/memberships?userID'