To update a user, provide the id of the user and an object of properties which you want to overwrite. A user can update itself and an organization can update its user.
npm install @luzmo/nodejs-sdk{
"id": "123e4567-e89...",
"email": "john.doe@example.com",
"name": "My New Name",
"city": "New City Name",
"phone": "+1234567890",
"theme": "light",
"warp_notifications": false,
"show_formula_tutorial": true,
"show_dashboard_templates": true,
"onboarding_menu_visible": true,
"onboarding_editor_active": true,
"onboarding_editor_progress": 50,
"collection_order": [
"item1",
"item2",
"item3"
],
"company": {
"en": "Company Name"
},
"role": "member",
"suborganization": "SubOrgName",
"plan": "basic",
"cycle": "monthly",
"currency": "USD",
"campaign": "campaign_name",
"timezone_id": "Europe/Brussels",
"feature_overrides": [
"!flag_alerting",
"flag_opendataboard"
],
"onboarding_integration_progress": "complete",
"onboarding_embedded_editor_progress": 25
}