DoTs Firewalls

Generated on 13 Nov 2026 from DoTs version v1.24.0

DigitalOcean Cloud Firewalls provide the ability to restrict network access to and from a Droplet allowing you to define which ports will accept inbound or outbound connections. By sending requests to the /v2/firewalls endpoint, you can list, create, or delete firewalls as well as modify access rules.

dots.v2.firewalls.byFirewall_id().droplets.post()

Add Droplets to a Firewall

dots.v2.firewalls.byFirewall_id().rules.post()

Add Rules to a Firewall

dots.v2.firewalls.byFirewall_id().tags.post()

Add Tags to a Firewall

dots.v2.firewalls.post()

Create a New Firewall

dots.v2.firewalls.byFirewall_id().delete()

Delete a Firewall

dots.v2.firewalls.get()

List All Firewalls

dots.v2.firewalls.byFirewall_id().droplets.delete()

Remove Droplets from a Firewall

dots.v2.firewalls.byFirewall_id().rules.delete()

Remove Rules from a Firewall

dots.v2.firewalls.byFirewall_id().tags.delete()

Remove Tags from a Firewall

dots.v2.firewalls.byFirewall_id().get()

Retrieve an Existing Firewall

dots.v2.firewalls.byFirewall_id().put()

Update a Firewall

We can't find any results for your search.

Try using different keywords or simplifying your search terms.