Update a user
Updates a user in your WorkOS environment.
POST
Body
Arguments
stringrequired
The unique ID of the user.
string
The email address of the user.
string
The first name of the user.
string
The last name of the user.
boolean
Whether the user's email has been verified.
string
The password to set for the user.
string
The hashed password to set for the user. Mutually exclusive with password.
string
The algorithm originally used to hash the password, used when providing a password_hash.
object
Object containing metadata key/value pairs associated with the user.
string
The external ID of the user.
string
The user's preferred locale.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.