UpdateClerkUserInput
Defined in: users/users.ts:188
The fields accepted when updating a Clerk user; only the ones given are changed.
Properties
Section titled “Properties”backup_codes?
Section titled “backup_codes?”
optionalbackup_codes?:string[]
Defined in: users/users.ts:218
Backup codes to set for the user.
create_organization_enabled?
Section titled “create_organization_enabled?”
optionalcreate_organization_enabled?:boolean
Defined in: users/users.ts:222
Whether the user may create organizations.
delete_self_enabled?
Section titled “delete_self_enabled?”
optionaldelete_self_enabled?:boolean
Defined in: users/users.ts:220
Whether the user may delete their own account.
external_id?
Section titled “external_id?”
optionalexternal_id?:string
Defined in: users/users.ts:190
The identifier the user has in your own system.
first_name?
Section titled “first_name?”
optionalfirst_name?:string
Defined in: users/users.ts:192
The user’s first name.
last_name?
Section titled “last_name?”
optionallast_name?:string
Defined in: users/users.ts:194
The user’s last name.
notify_primary_email_address_changed?
Section titled “notify_primary_email_address_changed?”
optionalnotify_primary_email_address_changed?:boolean
Defined in: users/users.ts:202
Whether to notify the user when their primary email address changes.
password?
Section titled “password?”
optionalpassword?:string
Defined in: users/users.ts:198
The user’s new password in plain text.
primary_email_address_id?
Section titled “primary_email_address_id?”
optionalprimary_email_address_id?:string
Defined in: users/users.ts:200
The id of the email address to make primary.
primary_phone_number_id?
Section titled “primary_phone_number_id?”
optionalprimary_phone_number_id?:string
Defined in: users/users.ts:204
The id of the phone number to make primary.
primary_web3_wallet_id?
Section titled “primary_web3_wallet_id?”
optionalprimary_web3_wallet_id?:string
Defined in: users/users.ts:206
The id of the web3 wallet to make primary.
private_metadata?
Section titled “private_metadata?”
optionalprivate_metadata?:Record<string,unknown>
Defined in: users/users.ts:212
Metadata readable and writable only from the backend.
profile_image_id?
Section titled “profile_image_id?”
optionalprofile_image_id?:string
Defined in: users/users.ts:208
The id of the uploaded image to use as the profile image.
public_metadata?
Section titled “public_metadata?”
optionalpublic_metadata?:Record<string,unknown>
Defined in: users/users.ts:210
Metadata readable from the frontend and backend, writable only from the backend.
totp_secret?
Section titled “totp_secret?”
optionaltotp_secret?:string
Defined in: users/users.ts:216
A TOTP secret to enroll the user in authenticator-app two-factor.
unsafe_metadata?
Section titled “unsafe_metadata?”
optionalunsafe_metadata?:Record<string,unknown>
Defined in: users/users.ts:214
Metadata that the frontend can also read and write.
username?
Section titled “username?”
optionalusername?:string
Defined in: users/users.ts:196
The user’s username.