Actions10
Update User
AI-generatedSummary
Update an existing user's profile by their user ID, modifying fields such as display name, password, role, email verification status, and tour completion status.
Inputs
- User ID (required) — The ID of the user to update.
- Name — New display name for the user.
- Password — New password for the user; leave empty to retain current password.
- Role — User role, either 'user' or 'admin' (applicable only for admins).
- Email Verified — Boolean indicating whether the user's email is verified.
- Has Seen Tour — Boolean indicating whether the user has seen the introductory tour.
Output shape
A single JSON object representing the updated user information.
At least one of the updatable fields (name, password, role, emailVerified, hasSeenTour) must be provided; otherwise, the operation will error.