Sign in

Update CDN endpoint

documented

Modify a CDN endpoint.

PATCH /v2/cdn/endpoints/{endpoint_id}CDNno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.digitalocean.com/v2/cdn/endpoints/{{$endpoint_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"ttl": {{$ttl}}, "certificate_id": "{{$certificate_id}}", "custom_domain": "{{$custom_domain}}"}'
Update CDN endpoint · DigitalOcean · OpenIntegrations