User Management icon

User Management

Manage users with multiple operations

User → Update

AI-generated

Summary

Update the details of an existing user by specifying their User ID and providing one or more new values for their name, email, and/or role.

Inputs

  • User ID (required) — The ID of the user to update.
  • Update Fields — Fields to update on the user, including Name (new user name), Email (new email address), and Role (new user role, can be Admin, User, or Guest).

Output shape

a single record containing success status, the operation performed, and the updated user's details (id, name, email, role, updatedAt timestamp).

If any update field is not provided, the current value remains unchanged. The output includes a success boolean and the updated user object reflecting the new and retained values.

Discussion