Digital Ocean Kubernetes API

[DigitalOcean Kubernetes](https://docs.digitalocean.com/products/kubernetes/) allows you to quickly deploy scalable and secure Kubernetes clusters. By sending 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 with a cluster.

Business capability
IT Infrastructure Management BC-600.50

Operations 25

GET /v2/kubernetes/clusters List All Kubernetes Clusters #
POST /v2/kubernetes/clusters Create a New Kubernetes Cluster #
GET /v2/kubernetes/clusters/{cluster_id} Retrieve an Existing Kubernetes Cluster #
PUT /v2/kubernetes/clusters/{cluster_id} Update a Kubernetes Cluster #
DELETE /v2/kubernetes/clusters/{cluster_id} Delete a Kubernetes Cluster #
GET /v2/kubernetes/clusters/{cluster_id}/destroy_with_associated_resources List Associated Resources for Cluster Deletion #
DELETE /v2/kubernetes/clusters/{cluster_id}/destroy_with_associated_resources/selective Selectively Delete a Cluster and its Associated Resources #
DELETE /v2/kubernetes/clusters/{cluster_id}/destroy_with_associated_resources/dangerous Delete a Cluster and All of its Associated Resources (Dangerous) #
GET /v2/kubernetes/clusters/{cluster_id}/kubeconfig Retrieve the kubeconfig for a Kubernetes Cluster #
GET /v2/kubernetes/clusters/{cluster_id}/credentials Retrieve Credentials for a Kubernetes Cluster #
GET /v2/kubernetes/clusters/{cluster_id}/upgrades Retrieve Available Upgrades for an Existing Kubernetes Cluster #
POST /v2/kubernetes/clusters/{cluster_id}/upgrade Upgrade a Kubernetes Cluster #
GET /v2/kubernetes/clusters/{cluster_id}/node_pools List All Node Pools in a Kubernetes Clusters #
POST /v2/kubernetes/clusters/{cluster_id}/node_pools Add a Node Pool to a Kubernetes Cluster #
GET /v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id} Retrieve a Node Pool for a Kubernetes Cluster #
PUT /v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id} Update a Node Pool in a Kubernetes Cluster #
DELETE /v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id} Delete a Node Pool in a Kubernetes Cluster #
DELETE /v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}/nodes/{node_id} Delete a Node in a Kubernetes Cluster #
POST /v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}/recycle Recycle a Kubernetes Node Pool #
GET /v2/kubernetes/clusters/{cluster_id}/user Retrieve User Information for a Kubernetes Cluster #
GET /v2/kubernetes/options List Available Regions, Node Sizes, and Versions of Kubernetes #
POST /v2/kubernetes/clusters/{cluster_id}/clusterlint Run Clusterlint Checks on a Kubernetes Cluster #
GET /v2/kubernetes/clusters/{cluster_id}/clusterlint Fetch Clusterlint Diagnostics for a Kubernetes Cluster #
POST /v2/kubernetes/registry Add Container Registry to Kubernetes Clusters #
DELETE /v2/kubernetes/registry Remove Container Registry from Kubernetes Clusters #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/digital-ocean-kubernetes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

digital-ocean-kubernetes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DigitalOcean Kubernetes API
  version: '2.0'
  description: '# Introduction


    The DigitalOcean API allows you to manage Droplets and resources within the

    DigitalOcean cloud in a simple, programmatic way using conventional HTTP requests.'
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  contact:
    name: DigitalOcean API Team
    email: api-engineering@digitalocean.com
  termsOfService: https://www.digitalocean.com/legal/terms-of-service-agreement/
servers:
- url: https://api.digitalocean.com
  description: production
security:
- bearer_auth: []
tags:


# --- truncated at 32 KB (140 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/digital-ocean/refs/heads/main/openapi/digital-ocean-kubernetes-api-openapi.yml