async removeUserFromGroup()

in src/lib/service/custos-service/custos-service-groups.js [158:170]


    async removeUserFromGroup({clientId, groupId, username}) {
        const axiosInstance = await this.custosService.axiosInstance;
        return axiosInstance.delete(
            `${CustosService.ENDPOINTS.GROUPS}/user/group/membership`,
            {
                data: {
                    group_id: groupId,
                    username: username,
                    client_id: clientId
                }
            }
        );
    }