AutoScan analysis cannot be turned off via API

We are creating projects via API on SonarCloud at my company.

However, all the projects are being created with the Auto Scan Analysis turned on.
But we want to turn this option off so we have to do it manually because we couldn’t find a way to create the project with this option disabled or turn this option off via API.

Is that a way to turn if off via API? Can someone help me, please?

Thank you so much!

Hey there.

There is an internal Web API to enable/disable Automatic Analysis. I won’t share it here for that reason, but if you want you should be able to observe the Web API calls from your browser’s dev tools and work out what API is being used and how it’s configured.

1 Like

Thank you, Colin!! Just found it!!! Thank you so much!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.