Rest API user creation and management

Is it possible to set a password creating users via Rest API ?
I set the password option but when I try to log in it says something like “wrong credentials”.

curl --request POST \
  --url '/rest/api/3/user' \
  --user 'email@example.com:<api_token>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "password": "abracadabra",
  "emailAddress": "aaa@aaaaa.aaa",
  "displayName": "AAAAAAA",
  "notification": true
}'

The user was created but it seem that it doesn’t set the password.

API version 3, does that exist??

Oh nevermind me, i just started reading here:) I thought there was just v1 and v2