MonoCloud Management SDK
    Preparing search index...

    Interface ChangePasswordRequest

    Change Password Request: Used to change a user's password, with support for plaintext or pre-hashed values.

    ChangePasswordRequest

    interface ChangePasswordRequest {
        new_password?: string | null;
        new_password_hash?: string | null;
        new_password_hash_algorithm?: "bcrypt";
        old_password: string;
        revoke_sessions?: boolean;
    }
    Index

    Properties

    new_password?: string | null

    The new plain-text password to assign to the user.

    ChangePasswordRequest

    new_password_hash?: string | null

    A pre-computed password hash for the new password.

    When provided, password validation and password policy requirements are not enforced. The hash is stored as-is.

    ChangePasswordRequest

    new_password_hash_algorithm?: "bcrypt"

    Hashing algorithm used for the provided password hash.

    ChangePasswordRequest

    old_password: string

    The user's current plain-text password used for verification.

    ChangePasswordRequest

    revoke_sessions?: boolean

    A flag to indicate whether all active user sessions should be revoked when the password is updated.

    ChangePasswordRequest