Reference Home

Developer Reference

Learn about DigitalOcean's APIs, CLI, Terraform provider, and open source contributions.

DigitalOcean provides several command-line interfaces (CLIs) and application programming interfaces (APIs) for managing your resources. This section provides the reference materials for these offerings, as well as resources from the open source community.

API
Programmatically manage your Droplets, Spaces, and other DigitalOcean resources using conventional HTTP requests. You can use our RESTful APIs for any action that you can perform through the control panel.
7 articles
Manage your DigitalOcean resources from the command line with doctl, our open-source command line interface (CLI).
2 articles
Deploy and change many resources simultaneously using the open source Terraform tool.
1 article
Collection of libraries for DigitalOcean API.
We use and contribute to open source software.

Latest Updates

12 October 2021

  • Released v1.65.0 of doctl, the official DigitalOcean CLI. This release includes a number of new features:

    • The --ha flag was added to the kubernetes cluster create sub-command to optionally create a cluster configured with a highly-available control plane. This feature is in early availability
    • The kubernetes cluster sub-commands now include a “Support Features” field when displaying version options
    • The --disable-lets-encrypt-dns-records flag was added to the compute load-balancer create sub-command to optionally disable automatic DNS record creation for Let’s Encrypt certificates that are added to the load balancer

7 October 2021

  • v2.14.0 of the DigitalOcean Terraform Provider is now available. This release adds support for the high availability (ha) attribute when creating Kubernetes clusters.

5 October 2021

  • v2.13.0 of the DigitalOcean Terraform Provider is now available. This release adds support for retrieving the CA certificate for database clusters. It also includes bug fixes.

For more information, see the full release notes.