@base.apimethod
    def update_preference(self, preference_id, obj):
        url = '{0}/{1}/{2}'.format(self.get_url(), 'preferences', preference_id)
        request = http.Request('PATCH', url, self.wrap_object(obj))
        return request, parsers.parse_json
Update a user preference
dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/desk/users.py/User.update_preference