API: How to create new user without password? How to send self service notification?

I’m trying to create user accounts via API. It’s not intended to generate initial passwords. Passwords should be generated by the user through self-service.

At the moment I’m getting an error message that the password is missing and the account cannot be created. Is there a way to create an account without password via API? (As a workaround I insert random strings that aren’t logged.)

Is there a way to trigger password recovery self service for a specific user? On creation I supply the property ‘PasswordRecoveryEmail’.

Mastodon