Hey guys, Could you please help me, I am trying to assign role to a user with REST API.
I am creating users with following:
http://$URL:4985/$DB/_user/$USERNAME
{
"name":"$USERNAME",
"password":"$PASSWORD"
}
I tried putting "roles" in the above json.
Thanks a lot in advance.
Cheers,