Reference Home

Validated on 23 Dec 2020 • Last edited on 17 Apr 2025

Manage resources programmatically and integrate across the developer ecosystem with CLIs, APIs, and SDKs.

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.

doctl Command Line Interface (CLI)

Manage your DigitalOcean resources from the command line with doctl, our open-source command line interface (CLI).

API Overview

Programmatically manage your Droplets, Spaces, and other DigitalOcean resources using conventional HTTP requests. Use RESTful APIs to programmatically manage Droplets, Spaces, and other DigitalOcean resources.

Paperspace APIs, CLIs, and SDKs Overview

Interact with Paperspace resources programmatically using the Paperspace API or CLI, and find documentation for legacy tools.

Ansible

Automate DigitalOcean infrastrucuture and configuration management using the open source Ansible framework.

Terraform

Deploy and change many resources simultaneously using the open source Terraform tool.

PyDo

PyDo is DigitalOcean’s official Python client library based on DigitalOcean’s OpenAPIv3 specification.

DigitalOcean Libraries

This is a list of official and community-created client libraries that let you use the DigitalOcean API in a variety of programming languages.

Open-Source Software

We use and contribute to open source software.

Latest Updates

Upcoming Changes

28 February 2025

22 April 2024

  • We’ve corrected a bug where image types other than snapshots could be listed using the GET /v2/snapshots endpoint. This behavior was strictly limited to image types that the user was properly authorized to access, such as backups and custom images.

17 April 2024

  • Custom scopes for personal access tokens (PATs) are now generally available.

    Previously, DigitalOcean PATs had only two scopes: read access to all team resources or full (read and write) access to all team resources. Custom scopes introduce more specific permissions, like creating Droplets or updating cloud firewalls, which lets you secure your workflows by granting only the permissions the token needs and restricting access to other resources and actions.

For more information, see the full release notes.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.