{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update the TTL, certificate ID, or the FQDN of the custom subdomain for\nan existing CDN endpoint, send a PUT request to\n`/v2/cdn/endpoints/$ENDPOINT_ID`.\n","properties":{"path":{"type":"object","properties":{"cdn_id":{"type":"string","format":"uuid","minimum":1,"examples":["19f06b6a-3ace-4315-b086-499a0e521b76"],"description":"A unique identifier for a CDN endpoint."}},"required":["cdn_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/update_endpoint"}},"required":["path","body"],"additionalProperties":false,"definitions":{"update_endpoint":{"type":"object","properties":{"ttl":{"type":"integer","enum":[60,600,3600,86400,604800],"default":3600,"description":"The amount of time the content is cached by the CDN's edge servers in seconds. TTL must be one of 60, 600, 3600, 86400, or 604800. Defaults to 3600 (one hour) when excluded.","examples":[3600]},"certificate_id":{"type":"string","format":"uuid","description":"The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.","examples":["892071a0-bb95-49bc-8021-3afd67a210bf"]},"custom_domain":{"type":"string","format":"hostname","description":"The fully qualified domain name (FQDN) of the custom subdomain used with the CDN endpoint.","examples":["static.example.com"]}}}}},"name":"Update a CDN Endpoint","id":"digitalocean.cdn_update_endpoints","example":{"path":{"cdn_id":"19f06b6a-3ace-4315-b086-499a0e521b76"},"body":{}},"maxRequests":1,"summary":false}}