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.
Manage your DigitalOcean resources from the command line with doctl, our open-source command line interface (CLI).
Deploy and change many resources simultaneously using the open source Terraform tool.
Official and community-created client libraries that let you use the DigitalOcean API in a variety of programming languages.
We use and contribute to open source software.

Latest Updates

10 August 2022

  • The following distributions have reached end of life and are deprecated as of 10 August 2022:

    • Debian 9
    • Ubuntu 21.10

    These images will be removed from the control panel starting on 10 August 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.

8 August 2022

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

12 July 2022

  • The DigitalOcean API now supports listing Droplets by name by using the name query parameter, as in GET /v2/droplets?name="your_droplet_name". Learn more in the API documentation.

For more information, see the full release notes.