I’m currently working on an iOS app for my prototype. Before I write any code in Xcode I prefer to make all my requests in Postman. I read the documentation and cant seem to find what I am doing wrong.
I set up a two-legged authentication ClientID and Secret. I want my server to do the customer registration so I can white-label Particle. When I try to create a shadow customer the response I get is…
{
"ok": false,
"error": "Organization not found for user's role."
}
I am making a POST to https://api.particle.io/v1/products/xxxx/customers where xxxx is my productID.
I added my ClientId and Secret to the Username and Password of the Basic Auth.
The body contains three things “productIdOrSlug” “email” and “no_password”
Can anyone point me in the right direction?