code: def update_notification_settings(self, api_token, event,
                                       service, should_notify):
          
          params = {
              'token': api_token,
              'notification_type': event,
              'service': service,
              'dont_notify': should_notify
          }
          return self._post('update_notification_setting', params)
docs: Update a user's notification settings.
  
          :param api_token: The user's login api_token.
          :type api_token: str
          :param event: Update the notification settings of this event.
          :type event: str
          :param service: ``email`` or ``push``
          :type service: str
          :param should_notify: If ``0`` notify, otherwise do not.
          :type should_notify: int
          :return: The HTTP response to the request.
          :rtype: :class:`requests.Response`
  
          >>> from pytodoist.api import TodoistAPI
          >>> api = TodoistAPI()
          >>> response = api.login('john.doe@gmail.com', 'password')
          >>> user_info = response.json()
          >>> user_api_token = user_info['api_token']
          >>> response = api.update_notification_settings(user_api_token,
          ...                                             'user_left_project',
          ...                                             'email', 0)
          ...