pydo.projects.list_resources()

Generated on 11 Jul 2025 from pydo version v0.13.0

Description

To list all your resources in a project, send a GET request to /v2/projects/$PROJECT_ID/resources.

This endpoint will only return resources that you are authorized to see. For example, to see Droplets in a project, include the droplet:read scope.

Parameters

Name Type Required Description Default Value
project_id string True A unique identifier for a project.
per_page integer False Number of items returned per page 20
page integer False Which ‘page’ of paginated results to return. 1

Request Sample

import os
from pydo import Client

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

resp = client.projects.list_resources(project_id="4e1bfbc3")

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.