Skip to content

UpdateUserInput

@blobs/sdk v0.1.0


@blobs/sdk / types/Users / UpdateUserInput

Defined in: types/Users.ts:39

Payload for updating a user’s profile or credentials.

All fields are optional; only provided fields are updated. When changing password, the caller must also supply current_password.

Properties

username?

optional username?: string

Defined in: types/Users.ts:41

New username (must be unique across the network).


email?

optional email?: string

Defined in: types/Users.ts:43

New email address (re-verification may be required).


password?

optional password?: string

Defined in: types/Users.ts:45

New password to set. Requires current_password to also be provided.


current_password?

optional current_password?: string

Defined in: types/Users.ts:47

Current password, required when changing password or email.