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.

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.
2 articles
Collection of libraries for DigitalOcean API.
We use and contribute to open source software.

Latest Updates

Upcoming Changes

  • FreeBSD 12.1 has reached its end of life. Per our image deprecation policy, you can now only deploy the FreeBSD UFS and ZFS image via the API. We will remove the images from the platform on 11 March 2021.

6 May 2021

  • Released v1.60.0 of doctl, the official DigitalOcean CLI. This release introduces an auth remove sub-command to simplify removing an auth context when managing multiple accounts. The databases user reset sub-command now supports resetting the user password for all database engine types.

5 May 2021

  • We have updated the Floating IP API responses to better align with our newer API models. The droplet and region fields now use the same response models used in the /v2/droplets and /v2/regions endpoints. Specifically:

    • The private_networking feature is now displayed under the features field under droplet instead of the features field under region.
    • The vpc_uuid field now populates with the correct values.
    • The Droplet’s type displays base when the Droplet uses a base image (i.e. Ubuntu, CentOS).
    • The Droplet’s networks field now includes private and floating IP addresses, if applicable.

    Example Response:

      "floating_ips": [
          "ip": "",
          "droplet": {
            "id": 228430424,
            "name": "ubuntu-s-1vcpu-1gb-nyc3-01",
            "memory": 1024,
            "vcpus": 1,
            "disk": 25,
            "locked": false,
            "status": "active",
            "kernel": null,
            "created_at": "2021-01-26T16:55:51Z",
            "features": [
            "networks": {
              "v4": [
                  "ip_address": "",
                  "netmask": "",
                  "gateway": "",
                  "type": "private"
                  "ip_address": "",
                  "netmask": "",
                  "gateway": "",
                  "type": "public"
              "v6": []
            "region": {
              "name": "New York 3",
              "slug": "nyc3",
              "features": [
              "available": true,
              "sizes": [
            "tags": [],
            "vpc_uuid": "21e31e10-24c5-47ec-8ae6-98da22"

    We have truncated the response for readability.

27 April 2021

  • Fedora 34 base image is now available in the control panel and via the API.

For more information, see the full release notes.