API - Retrieve groups by namespace
Endpoints:
- GET {api_url}/auth/admin/tenants/{tenantId}/groups
Required scopes:
- auth.groups.list
Request Parameters Properties (JSON)
-
filter - JSON for filtering the selection. Convert the input that you are going to send through the filter parameter from an object into a string.
Example:
{api_url}/auth/admin/tenants/{tenantId}/groups?filter=JSON.stringify({where: {namespaceId: 1}})
In that example we retrieved the groups with the specified namespaceId 1.
For more information about the filter parameter go to the Loopback Documentation
Expected success response:
Status code 200 with an array of the found groups on the database as the response body.