def METHOD_NAME(self, request):
    if not current_org or current_org.is_root():
        error = {"error": "Not a valid org"}
        return Response(error, status=400)
    serializer_cls = self.get_serializer_class()
    serializer = serializer_cls(data=request.data)
    serializer.is_valid(raise_exception=True)
    validated_data = serializer.validated_data
    users = validated_data['users']
    org_roles = validated_data['org_roles']
    has_self = any([str(u.id) == str(request.user.id) for u in users])
    if has_self and not request.user.is_superuser:
        error = {"error": _("Can not invite self")}
        return Response(error, status=400)
    for user in users:
        user.org_roles.set(org_roles)
    return Response(serializer.data, status=201)