We’re having trouble creating our sites via API in the correct team account. We use the netlify API to create and deploy sites as part of our backend review app process. We are using the API token generated from my account, and I think because of this it’s putting the newly created sites in my personal team (jake-dluhy
) instead of our company team.
We tried adding account_slug: developers-xxxxxxx
(where xxxxxxx
is our slug suffix) to our request payload, but that didn’t change anything. I also switched my default account to our team account, and still no luck.
How do we designate which account to create a new site in via the API?
Thanks,
Jake