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.
Manage your DigitalOcean resources from the command line with doctl, our open-source command line interface (CLI).
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.
Interact with Paperspace resources programmatically using the Paperspace API or CLI, and find documentation for legacy tools.
Automate DigitalOcean infrastrucuture and configuration management using the open source Ansible framework.
Deploy and change many resources simultaneously using the open source Terraform tool.
PyDo is DigitalOcean’s official Python client library based on DigitalOcean’s OpenAPIv3 specification.
This is a list of 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
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
-
All managed databases except MongoDB now support up to 2,000 IP addresses as trusted sources. To add trusted sources, see our guides for MySQL, PostgreSQL, Caching, MongoDB, OpenSearch, and Kafka.
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.