Actions31
- User API Actions
- Organization API Actions
- Allowlist API Actions
- Domain API Actions
- Session API Actions
- Invitation API Actions
User API → Update User
AI-generatedSummary
Update a user in Clerk's User API using the specified user details.
Inputs
- userId (required) — The ID of the user to fetch.
- password — The password for the user.
- firstName — The first name of the user.
- lastName — The last name of the user.
- externalId — The external ID of the user.
- publicMetadata — The public metadata for the user.
- deleteSelfEnabled — Whether the user can delete their own account.
Output shape
a single record
Returns the updated user details. All fields are optional, but
userIdis required. If certain fields are not provided, they won't be updated.