Please enable repository activation through API
Currently, we don’t support repository activation via our API. If you’d like us to build this feature, you can add it to our roadmap here.
Meanwhile, if you’d like to activate analysis on multiple repositories together, you can try out Auto Onboard.
Also, for GitHub and Bitbucket, analysis is automatically activated on a repository if the
.deepsource.toml file is committed to the default branch.