pydo.projects.update_default()

Generated on 16 May 2025 from pydo version v0.11.0

Description

To update you default project, send a PUT request to /v2/projects/default. All of the following attributes must be sent.

Request Sample

import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

req = {
  "name": "my-web-api",
  "description": "My website API",
  "purpose": "Service or API",
  "environment": "Production",
  "is_default": False
}

resp = client.projects.update_default(body=req)

More Information

See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.