Can I disable a module from GlobalSearch using REST API or specific settings from the code?


Is there an easy way to disable a module from the global search using the REST API or maybe through the code ? The purpose is, for instance, to avoid that a new module created from the builder is automatically enabled.

Many thanks,