Home / Servers / DigitalOcean API / cdn_update_endpoints

Update a CDN Endpoint

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Update a CDN Endpoint To update the TTL, certificate ID, or the FQDN of the custom subdomain for an existing CDN endpoint, send a PUT request to /v2/cdn/endpoints/$ENDPOINT_ID. [PUT /v2/cdn/endpoints/{cdn_id}]

Name on the gateway: digitalocean_api__cdn_update_endpoints · may change things.

Parameters

NameTypeDescription
cdn_id requiredstringA unique identifier for a CDN endpoint.
ttl60 | 600 | 3600 | 86400 | 604800The amount of time the content is cached by the CDN's edge servers in seconds.…
certificate_idstringThe ID of a DigitalOcean managed TLS certificate used for SSL when a custom…
custom_domainstringThe fully qualified domain name (FQDN) of the custom subdomain used with the…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__cdn_update_endpoints",
  "arguments": {
    "cdn_id": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update a cdn endpoint tool with cdn_id set to ….

More from DigitalOcean API