UpdatePasswordParams

@Serializable
data class UpdatePasswordParams(val currentPassword: String? = null, val newPassword: String, val signOutOfOtherSessions: Boolean = false)

Parameters for updating a user's password.

Constructors

Link copied to clipboard
constructor(currentPassword: String? = null, newPassword: String, signOutOfOtherSessions: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "current_password")
val currentPassword: String? = null

The user's current password for verification.

Link copied to clipboard
@SerialName(value = "new_password")
val newPassword: String

The new password to set for the user.

Link copied to clipboard
@SerialName(value = "sign_out_of_other_sessions")
val signOutOfOtherSessions: Boolean = false

Whether to sign out of all other sessions after changing the password. Default is false.