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.firewall_rules.delete( rule_id=0, domain_id=1,)
Copy
Ask AI
{}
Firewall Rules
Delete a firewall rule
DELETE
/
waap
/
v1
/
domains
/
{domain_id}
/
firewall-rules
/
{rule_id}
Python
Copy
Ask AI
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.firewall_rules.delete( rule_id=0, domain_id=1,)