injected service use to handle the organization related operations
injected logger used to handle the logging
request context [headers, body, params, query]. Note:
params
is requiredquery
is requiredquery.userId
is requiredparams.orgId
is required200 OK
This handler will check if user is in org by applying the following steps in sequence:
Get organization id and user id from params
Check if user is in org (service.isUserInOrganization)
Return isUserInOrg
Error
Generated using TypeDoc
Is user in org handler