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

18 January 2022

  • The following distributions have reached end of life and are now deprecated as of 18 January 2022:

    • FreeBSD 11.4 zfs
    • FreeBSD 11.4 ufs
    • Fedora 33
    • CentOS 8
    • Ubuntu 21.04

    These images will be removed from the control panel starting on 18 January 2022 but will remain accessible for Droplet creation via the API for 30 days after the initial deprecation. If you need to use these distribution versions after the images have been fully deprecated, you can create Droplets from a snapshot of a Droplet with that version or from a custom image.

14 January 2022

  • Released v1.69.0 of doctl, the official DigitalOcean CLI. This release contains a number of bug fixes and adds support to the kubernetes cluster kubeconfig save sub-command for setting an alias for a cluster’s context name.

8 December 2021

  • Rocky Linux 8.5 x64 (rockylinux-8-x64) base image is now available in the control panel and via the API.

For more information, see the full release notes.