Set / change user password using API v8

Hi,

I am trying to create a new user using API, using node fetch, but I cannot set the password. When I checked the dash board, I see the new user being created, but no password was saved.

I used the ff attributes structure:
const attributes = {
user_name: email,
user_hash: password,
first_name: first_name,
last_name: last_name,
email1: email,
status: “Active”
};

I tried sending plain text, and bcrypt encrypted password, with no success.

Thanks!

Try sending md5('password') (md5 encrypted password), this should work.

If this worked for you, let us know, hit “Solution”!