I guess this is only possible with Bot Management, which is an Enterprise feature.
If you are talking about Bot Fight Mode (which is available on all plans), the setting applies to all websites and you can’t selectively disable it based on subdomains.
Oh sorry i meant allow the bots on the main domain and block on the sub domains. Is this also only possible with bot management. Or do you have a firewall or page rule for it?
In a Firewall Rule you can use the hostname selector to specify which subdomains the rule should apply to, but as @erictung mentioned only ENT plans will let you finetune your rules with Bot Management. On other plans, you can always craft your own rules though: