Skip to content

UpdateClerkUserInput

Defined in: users/users.ts:188

The fields accepted when updating a Clerk user; only the ones given are changed.

optional backup_codes?: string[]

Defined in: users/users.ts:218

Backup codes to set for the user.


optional create_organization_enabled?: boolean

Defined in: users/users.ts:222

Whether the user may create organizations.


optional delete_self_enabled?: boolean

Defined in: users/users.ts:220

Whether the user may delete their own account.


optional external_id?: string

Defined in: users/users.ts:190

The identifier the user has in your own system.


optional first_name?: string

Defined in: users/users.ts:192

The user’s first name.


optional last_name?: string

Defined in: users/users.ts:194

The user’s last name.


optional notify_primary_email_address_changed?: boolean

Defined in: users/users.ts:202

Whether to notify the user when their primary email address changes.


optional password?: string

Defined in: users/users.ts:198

The user’s new password in plain text.


optional primary_email_address_id?: string

Defined in: users/users.ts:200

The id of the email address to make primary.


optional primary_phone_number_id?: string

Defined in: users/users.ts:204

The id of the phone number to make primary.


optional primary_web3_wallet_id?: string

Defined in: users/users.ts:206

The id of the web3 wallet to make primary.


optional private_metadata?: Record<string, unknown>

Defined in: users/users.ts:212

Metadata readable and writable only from the backend.


optional profile_image_id?: string

Defined in: users/users.ts:208

The id of the uploaded image to use as the profile image.


optional public_metadata?: Record<string, unknown>

Defined in: users/users.ts:210

Metadata readable from the frontend and backend, writable only from the backend.


optional totp_secret?: string

Defined in: users/users.ts:216

A TOTP secret to enroll the user in authenticator-app two-factor.


optional unsafe_metadata?: Record<string, unknown>

Defined in: users/users.ts:214

Metadata that the frontend can also read and write.


optional username?: string

Defined in: users/users.ts:196

The user’s username.