• Delete organization users handler

    Parameters

    • service: Pick<OrgUserDataService, "deleteOrganizationUser">

      injected service use to handle the organization related operations

      • deleteOrganizationUser
    • logger: Logger

      injected logger used to handle the logging

    • context: AdapterHandlerContext

      request context [headers, body, params, query]. Note:

      • params is required

    Returns Promise<adapter.AdapterHandlerResponse>

    204 No Content

    Description

    This handler will delete organization users by applying the following steps in sequence:

    1. Get organization id and user is from params

    2. Delete organization user (service.deleteOrganizationUser)

    Throws

    Error

    • params is not defined

Generated using TypeDoc