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,







-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/15f4a49e-cfaf-4af5-90ca-d7bdd5188d71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to