import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.waap.domains.custom_rules.toggle( action="enable", domain_id=1, rule_id=0,)
import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.waap.domains.custom_rules.toggle( action="enable", domain_id=1, rule_id=0,)