Create a New CDN Endpoint
DoTs CDN Endpoints
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Content hosted in DigitalOcean’s object storage solution, Spaces, can optionally be served by our globally distributed Content Delivery Network (CDN). By sending requests to /v2/cdn/endpoints, you can list, create, or delete CDN Endpoints as well as purge cached content. To use a custom subdomain to access the CDN Endpoint, provide the ID of a DigitalOcean managed TLS certificate and the fully qualified domain name for the custom subdomain.
dots.v2.cdn.endpoints.post()
dots.v2.cdn.endpoints.byCdn_id().delete()
Delete a CDN Endpoint
dots.v2.cdn.endpoints.get()
List All CDN Endpoints
dots.v2.cdn.endpoints.byCdn_id().cache.delete()
Purge the Cache for an Existing CDN Endpoint
dots.v2.cdn.endpoints.byCdn_id().get()
Retrieve an Existing CDN Endpoint
dots.v2.cdn.endpoints.byCdn_id().put()
Update a CDN Endpoint