How to create users while registering with different roles via API?

@aislam I just removed that API Key while I placed this code here :stuck_out_tongue: I used customer app’s api key in my original call!