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
| Name | Type | Description |
|---|---|---|
cdn_id required | string | A unique identifier for a CDN endpoint. |
ttl | 60 | 600 | 3600 | 86400 | 604800 | The amount of time the content is cached by the CDN's edge servers in seconds.… |
certificate_id | string | The ID of a DigitalOcean managed TLS certificate used for SSL when a custom… |
custom_domain | string | The 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:
{
"name": "digitalocean_api__cdn_update_endpoints",
"arguments": {
"cdn_id": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
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 ….