@ramnew2006 wrote:
Hi everyone,
I am trying to call the API and create users. I have created two roles Role 1 and Role 2. For some users I want to assign Role 1 and for some users Role 2. The use case is something like my application will have vendors and customers. From the vendor app the default role for user registration should be role 1 and for customer app it should be role 2. I tried different methods mentioned in the forum but nothing works.
I tried the script on Post process, tried sending a post request to /user/register?role_id=2 and other stuff too but nothing seem to be working. I tried this post as well http://blog.dreamfactory.com/adding-users-to-your-dsp
Can someone give me a link or tell me the procedure on creating users with different roles using API?
Thanks
Posts: 1
Participants: 1