Deploy previews setting via netlify API

I’m using the API to setup a site with ‘createSiteInTeam’.

“Automatically build deploy previews for all pull requests” is enabled by default. Can I set this to “Don’t build deploy previews for pull requests” via the api?

Hello @sanscheese, that is definitely possible via our API. Since our UI uses our API, I recommend that you take a look at how our UI does it. You can check out the following post on how to do that: [Common Issue] Understanding and using Netlify's API.