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

3 April 2025

  • We previously announced an upcoming breaking change to the DigitalOcean API to fix an incomplete resource authorization issue. We have changed our approach so that this is no longer a breaking change.

    Originally, some users would need to recreate API tokens with additional scopes to retain the same functionality. Now, API tokens created before we deploy the fix retain the same functionality and access to the API. No action is required to continue using these tokens as before.

    Learn more on Breaking Change to Fix DigitalOcean API Incomplete Resource Authorization Issue.

28 February 2025

20 February 2025

  • In April 2025, we are implementing a breaking change to the DigitalOcean API that fixes an incomplete resource authorization issue. You may need to recreate API tokens with additional scopes to retain the same functionality, depending on your use cases.

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.