How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Digital Ocean Firewalls API

[DigitalOcean Cloud Firewalls](https://docs.digitalocean.com/products/networking/firewalls/)provide the ability to restrict network access to and from a Dropletallowing you to define which ports will accept inbound or outboundconnections. By sending requests to the `/v2/firewalls` endpoint, you canlist, create, or delete firewalls as well as modify access rules.

Digital Ocean Firewalls API is one of 37 APIs that Digital Ocean publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Firewalls. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 11 operations across 5 paths, and defines 16 schemas. It is described by OpenAPI 3.0.0, at version 2.0.

Requests are made against a single base URL, https://api.digitalocean.com.

11 operations 5 paths 16 schemas 4 DELETE2 GET4 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0
Base URL
https://api.digitalocean.com/v2
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Digital Ocean Firewalls API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearer_auth). By default, every request must be authenticated.

  • bearer_auth — OAuth Authentication In order to interact with the DigitalOcean API, you or your application must authenticate. The DigitalOcean API handles this through OAuth…

Paths & Operations 11

Across 5 paths, the API surfaces 11 operations — 4 DELETE, 2 GET, 4 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Firewalls 11

[DigitalOcean Cloud Firewalls](https://docs.digitalocean.com/products/networking/firewalls/) provide the ability to restrict network access to and from a Droplet allowing you to d…

GET
/v2/firewalls
List All Firewalls
firewalls_list 2 params → 200401429500default
POST
/v2/firewalls
Create a New Firewall
firewalls_create body → 202400401429500default
GET
/v2/firewalls/{firewall_id}
Retrieve an Existing Firewall
firewalls_get 1 param → 200401404429500default
PUT
/v2/firewalls/{firewall_id}
Update a Firewall
firewalls_update 1 param body → 200400401404429500default
DELETE
/v2/firewalls/{firewall_id}
Delete a Firewall
firewalls_delete 1 param → 204401404429500default
POST
/v2/firewalls/{firewall_id}/droplets
Add Droplets to a Firewall
firewalls_assign_droplets 1 param body → 204400401404429500default
DELETE
/v2/firewalls/{firewall_id}/droplets
Remove Droplets from a Firewall
firewalls_delete_droplets 1 param body → 204400401404429500default
POST
/v2/firewalls/{firewall_id}/tags
Add Tags to a Firewall
firewalls_add_tags 1 param body → 204400401404429500default
DELETE
/v2/firewalls/{firewall_id}/tags
Remove Tags from a Firewall
firewalls_delete_tags 1 param body → 204400401404429500default
POST
/v2/firewalls/{firewall_id}/rules
Add Rules to a Firewall
firewalls_add_rules 1 param body → 204400401404429500default
DELETE
/v2/firewalls/{firewall_id}/rules
Remove Rules from a Firewall
firewalls_delete_rules 1 param body → 204400401404429500default

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are firewall_rule_target (5 properties), error (3 properties), firewall_rule_base (2 properties), firewall_rules (2 properties). Each schema is shown below with its type and property counts.

link_to_prev_page
object
1 property
link_to_last_page
object
1 property
page_links
object
1 property
existing_tags_array
array
A flat array of tag names as strings to be applied to the resource. Tag names must exist in order to be referenced in a request.
firewall_rules
object
2 properties
forward_links
pagination
object
1 property
firewall_rule_target
object
5 properties
link_to_first_page
object
1 property
error
object
3 properties 2 required
backward_links
meta_properties
object
Information about the response itself.
1 property
meta
object
1 property 1 required
link_to_next_page
object
1 property
firewall
object
firewall_rule_base
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

digital-ocean-firewalls-api-openapi.yml Raw ↑

Other APIs Digital Ocean publishes across the network.

Digital Ocean 1-Click Applications API
Digital Ocean Account API
Digital Ocean Actions API
Digital Ocean Apps API
Digital Ocean Billing API
Digital Ocean Block Storage Actions API
Digital Ocean Block Storage API
Digital Ocean CDN Endpoints API
Digital Ocean Certificates API
Digital Ocean Container Registry API
Digital Ocean Databases API
Digital Ocean Domain Records API
Where this information came from

This is an independent, third-party profile of Digital Ocean Firewalls API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.