Set "User must change password at the next login" attribute by cli

I can create accounts via the CLI and API but I can’t seem to set the “User must change password at the next login” attribute. does anyone know how to do this?

Hello,

Please find below the CLI commands that force a user to change his password after the next login.

<#> update domain domain.tld
<domain#> update account user
<domain-account#> set mustChangePass yes
<domain-account#> commit

Thank you,
Valentin

1 Like