pydo.functions.list_namespaces()
Generated on 24 Apr 2025
from pydo
version
v0.10.0
Description
Returns a list of namespaces associated with the current user. To get all namespaces, send a GET request to /v2/functions/namespaces
.
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.functions.list_namespaces()
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.