pydo.cdn.list_endpoints()
Generated on 12 Jan 2026
from pydo version
v0.23.0
Description
To list all of the CDN endpoints available on your account, send a GET request to /v2/cdn/endpoints.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
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"))
get_resp = client.cdn.list_endpoints()More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.