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.