API v2 Changelog

< Back to Changelog

Introducing the Projects API Beta

Date: October 16, 2018

Tagged In: API v2

Author Andrew Starr-Bochicchio

Today, we are launching a beta of our new Projects API. Projects enable you to group your resources in ways that align with the applications you host on DigitalOcean, and now you can do so via our API as well. This initial release includes the ability to:

  • Create, list, retrieve, update, and delete Projects
  • Assign existing resources to a Project
  • List resources in a Project

Additionally, we’ve added beta support for Projects to our official clients (Droplet Kit, godo, and doctl).

You can create a new project by sending a POST request to the /v2/projects endpoint including a body like:

  "name": "my-web-api",
  "description": "My website API",
  "purpose": "Service or API",
  "environment": "Production"

To assign resources to a project, send a POST request to /v2/projects/$PROJECT_ID/resources including a list of those resources in the body:

  "resources": [

Resources are identified by uniform resource names or URNs, a string consisting of the type of resource and its unique identifier. A valid URN has the following format: do:resource_type:resource_id. For the full details, see the API reference documentation for both Projects and Project Resources.

Note that as this is a beta release, we may make additional changes based on your feedback. So let’s us know how you’re using projects, and please follow along with the API changelog for updates.