Does anyone know how to turn bot fight mode to on using the api ?
I have tried this -
curl -X PUT “https://api.cloudflare.com/client/v4/zones/ZONEID/bot_management”
-H “X-Auth-Email: AUTHEMAIL”
-H “X-Auth-Key: AUTHKEY”
-H “Content-Type: application/json”
–data ‘{“fight_mode”:true}’
but i get this error - ‘code’: 7000, ‘message’: ‘No route for that URI’ which means there is no url to bot_management?. Is there an updated url ?
Thanks