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

[DigitalOcean Kubernetes](https://docs.digitalocean.com/products/kubernetes/)allows you to quickly deploy scalable and secure Kubernetes clusters. Bysending requests to the `/v2/kubernetes/clusters` endpoint, you can list,create, or delete clusters as well as scale node pools up and down,recycle individual nodes, and retrieve the kubeconfig file for use witha cluster.

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

This API exposes 25 operations across 17 paths, and defines 33 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.

25 operations 17 paths 33 schemas 6 DELETE11 GET6 POST2 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 Kubernetes 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 25

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

Kubernetes 25

[DigitalOcean Kubernetes](https://docs.digitalocean.com/products/kubernetes/) allows you to quickly deploy scalable and secure Kubernetes clusters. By sending requests to the /v2/…

GET
/v2/kubernetes/clusters
List All Kubernetes Clusters
kubernetes_list_clusters 2 params → 200401429500default
POST
/v2/kubernetes/clusters
Create a New Kubernetes Cluster
kubernetes_create_cluster body → 201401429500default
GET
/v2/kubernetes/clusters/{cluster_id}
Retrieve an Existing Kubernetes Cluster
kubernetes_get_cluster 1 param → 200401404429500default
PUT
/v2/kubernetes/clusters/{cluster_id}
Update a Kubernetes Cluster
kubernetes_update_cluster 1 param body → 202401404429500default
DELETE
/v2/kubernetes/clusters/{cluster_id}
Delete a Kubernetes Cluster
kubernetes_delete_cluster 1 param → 204401404429500default
GET
/v2/kubernetes/clusters/{cluster_id}/destroy_with_associated_resources
List Associated Resources for Cluster Deletion
kubernetes_list_associatedResources 1 param → 200401404429500default
DELETE
/v2/kubernetes/clusters/{cluster_id}/destroy_with_associated_resources/selective
Selectively Delete a Cluster and its Associated Resources
kubernetes_destroy_associatedResourcesSelective 1 param body → 204401404429500default
DELETE
/v2/kubernetes/clusters/{cluster_id}/destroy_with_associated_resources/dangerous
Delete a Cluster and All of its Associated Resources (Dangerous)
kubernetes_destroy_associatedResourcesDangerous 1 param → 204401404429500default
GET
/v2/kubernetes/clusters/{cluster_id}/kubeconfig
Retrieve the kubeconfig for a Kubernetes Cluster
kubernetes_get_kubeconfig 2 params → 200401404429500default
GET
/v2/kubernetes/clusters/{cluster_id}/credentials
Retrieve Credentials for a Kubernetes Cluster
kubernetes_get_credentials 2 params → 200401404429500default
GET
/v2/kubernetes/clusters/{cluster_id}/upgrades
Retrieve Available Upgrades for an Existing Kubernetes Cluster
kubernetes_get_availableUpgrades 1 param → 200401404429500default
POST
/v2/kubernetes/clusters/{cluster_id}/upgrade
Upgrade a Kubernetes Cluster
kubernetes_upgrade_cluster 1 param body → 202401404429500default
GET
/v2/kubernetes/clusters/{cluster_id}/node_pools
List All Node Pools in a Kubernetes Clusters
kubernetes_list_nodePools 1 param → 200401404429500default
POST
/v2/kubernetes/clusters/{cluster_id}/node_pools
Add a Node Pool to a Kubernetes Cluster
kubernetes_add_nodePool 1 param body → 201401404429500default
GET
/v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}
Retrieve a Node Pool for a Kubernetes Cluster
kubernetes_get_nodePool 2 params → 200401404429500default
PUT
/v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}
Update a Node Pool in a Kubernetes Cluster
kubernetes_update_nodePool 2 params body → 202401404429500default
DELETE
/v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}
Delete a Node Pool in a Kubernetes Cluster
kubernetes_delete_nodePool 2 params → 204401404429500default
DELETE
/v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}/nodes/{node_id}
Delete a Node in a Kubernetes Cluster
kubernetes_delete_node 5 params → 202401404429500default
POST
/v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}/recycledeprecated
Recycle a Kubernetes Node Pool
kubernetes_recycle_node_pool 2 params body → 202401404429500default
GET
/v2/kubernetes/clusters/{cluster_id}/user
Retrieve User Information for a Kubernetes Cluster
kubernetes_get_clusterUser 1 param → 200401404429500default
GET
/v2/kubernetes/options
List Available Regions, Node Sizes, and Versions of Kubernetes
kubernetes_list_options → 200401404429500default
POST
/v2/kubernetes/clusters/{cluster_id}/clusterlint
Run Clusterlint Checks on a Kubernetes Cluster
kubernetes_run_clusterLint 1 param body → 202401404429500default
GET
/v2/kubernetes/clusters/{cluster_id}/clusterlint
Fetch Clusterlint Diagnostics for a Kubernetes Cluster
kubernetes_get_clusterLintResults 2 params → 200401404429500default
POST
/v2/kubernetes/registry
Add Container Registry to Kubernetes Clusters
kubernetes_add_registry body → 204401429500default
DELETE
/v2/kubernetes/registry
Remove Container Registry from Kubernetes Clusters
kubernetes_remove_registry body → 204401429500default

Schemas 33

The contract defines 33 schemas that model the data the API accepts and returns. The most detailed are cluster (20 properties), kubernetes_node_pool_base (10 properties), cluster_update (7 properties), credentials (6 properties). Each schema is shown below with its type and property counts.

kubernetes_version
object
3 properties
cluster_registries
object
1 property
link_to_prev_page
object
1 property
link_to_last_page
object
1 property
page_links
object
1 property
kubernetes_options
object
1 property
control_plane_firewall
object
An object specifying the control plane firewall for the Kubernetes cluster. Control plane firewall is in early availability (invite only).
2 properties
kubernetes_size
object
2 properties
clusterlint_results
object
4 properties
clusterlint_request
object
4 properties
node
object
6 properties
associated_kubernetes_resources
object
An object containing the IDs of resources associated with a Kubernetes cluster.
3 properties
associated_kubernetes_resource
object
2 properties
kubernetes_node_pool_taint
object
3 properties
maintenance_policy
object
An object specifying the maintenance window policy for the Kubernetes cluster.
3 properties
kubernetes_node_pool_size
object
1 property
forward_links
user
object
1 property
cluster
object
20 properties 4 required
pagination
object
1 property
link_to_first_page
object
1 property
cluster_update
object
7 properties 1 required
error
object
3 properties 2 required
backward_links
kubernetes_node_pool_update
object
2 required
kubernetes_region
object
2 properties
meta_properties
object
Information about the response itself.
1 property
meta
object
1 property 1 required
kubernetes_node_pool
object
3 required
kubernetes_node_pool_base
object
10 properties
credentials
object
6 properties
destroy_associated_kubernetes_resources
object
An object containing the IDs of resources to be destroyed along with their associated with a Kubernetes cluster.
3 properties
link_to_next_page
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

digital-ocean-kubernetes-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 Kubernetes 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.