Retrieve OrgUser Groups
Changed onRetrieve a list of User Groups for an OrgUser.
Retrieves a list of all User Groups that a specific user belongs to within an Organization. The list can be paginated for easier management.
Notes:
- User Groups as Resource Groups. A User Group is a Resource Group - one used to group resources of type user. You can use the Create ResourceGroup call detailed in the ResourceGroup section to create a User Resource Group, and then use the Add Item and Remove Item calls to manage which Users belong to the User Resource Group.
- Using the inherited parameter for the Retrieve OrgUser Groups call. Resource Groups can be nested, which means a User Resource Group can contain another User Resource Group as a member. You can use the inherited parameter with this Retrieve OrgUser Groups call as a QUERY PARAMETER to control which User Resource Groups are returned:
- If the user specified belongs to a User Resource Group that is nested as part of another User Resource Group:
- If inherited = TRUE, then any Groups the user belongs to AND any parent Groups those Groups belong to as nested Groups are returned.
- If inherited = FALSE, then only those User Resource Groups to which the user belongs are returned.
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
The unique identifier (UUID) of the user.
Query parameters
Indicates whether or not to include inherited Groups.
- TRUE - includes inherited groups.
- FALSE - excludes inherited groups.
NOTE: See explanation above for details on how to use this parameter.
Specifies the maximum number of User Groups to retrieve per page.
The nextToken for multi-page retrievals. It is used to fetch the next page of User Groups in a paginated list.
Response
Returns a list of User Groups
Changes
- breaking
the
response's property type changed from no type toobjectfor status - info
added the new optional
queryrequest parameterinherited
- breaking
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status
- warning