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 Functions API

[Serverless functions](https://docs.digitalocean.com/products/functions) are blocks of code that run on demand without the need to manage any infrastructure.You can develop functions on your local machine and then deploy them to a namespace using `doctl`, the [official DigitalOcean CLI tool](https://docs.digitalocean.com/reference/doctl).The Serverless Functions API currently only supports creating and managing namespaces.

Digital Ocean Functions 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 Functions. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 9 operations across 4 paths, and defines 7 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.

9 operations 4 paths 7 schemas 2 DELETE4 GET2 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 Functions 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 9

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

Functions 9

[Serverless functions](https://docs.digitalocean.com/products/functions) are blocks of code that run on demand without the need to manage any infrastructure. You can develop funct…

GET
/v2/functions/namespaces
List Namespaces
functions_list_namespaces → 200401429500default
POST
/v2/functions/namespaces
Create Namespace
functions_create_namespace body → 200401404422429500default
GET
/v2/functions/namespaces/{namespace_id}
Get Namespace
functions_get_namespace 1 param → 200401403404429500default
DELETE
/v2/functions/namespaces/{namespace_id}
Delete Namespace
functions_delete_namespace 1 param → 204401404429500default
GET
/v2/functions/namespaces/{namespace_id}/triggers
List Triggers
functions_list_triggers 1 param → 200401404429500default
POST
/v2/functions/namespaces/{namespace_id}/triggers
Create Trigger
functions_create_trigger 1 param body → 200400401404422429500default
GET
/v2/functions/namespaces/{namespace_id}/triggers/{trigger_name}
Get Trigger
functions_get_trigger 2 params → 200401404429500default
PUT
/v2/functions/namespaces/{namespace_id}/triggers/{trigger_name}
Update Trigger
functions_update_trigger 2 params body → 200400401404429500default
DELETE
/v2/functions/namespaces/{namespace_id}/triggers/{trigger_name}
Delete Trigger
functions_delete_trigger 2 params → 204401404429500default

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are trigger_info (9 properties), namespace_info (8 properties), create_trigger (5 properties), error (3 properties). Each schema is shown below with its type and property counts.

trigger_info
object
9 properties
create_trigger
object
5 properties 5 required
create_namespace
object
2 properties 2 required
namespace_info
object
8 properties
update_trigger
object
2 properties
error
object
3 properties 2 required
scheduled_details
object
Trigger details for SCHEDULED type, where body is optional.
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

digital-ocean-functions-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 Functions 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.