Update a user
learnworlds_update_userWRITE: update a user's email, username, marketing consent, sign-up fields or tags. Only the fields you pass are sent. Passing tags REPLACES the tag list — use learnworlds_update_user_tags to add/remove individual tags. LearnWorlds: PUT /v2/users/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | The complete new tag list (replaces existing tags). | |
| user | Yes | The user's id, or their email address. | |
| No | |||
| fields | No | Sign-up fields to set, e.g. {"company": "Acme", "phone": "+1..."}. Built-in keys include bio, location, url, phone, address, country, birthday, company, company_size, university, graduation_year and social links; custom fields use their cf_ key (e.g. cf_skill). | |
| username | No | ||
| subscribed_for_marketing_emails | No |