IONOS Cloud (CDN) icon

IONOS Cloud (CDN)

Interact with IONOS Cloud CDN API

Actions7

Distribution → Update

AI-generated

Summary

Update an existing CDN distribution by specifying its Distribution ID and modifying properties such as domain, SSL/TLS certificate, and routing rules.

Inputs

  • Distribution ID (required) — The UUID of the distribution to update.
  • Domain (required) — The domain name to assign to the distribution.
  • Certificate ID — The ID of the SSL/TLS certificate to apply (optional).
  • Routing Rules — An array of routing rules defining upstream host, caching, WAF, geo restrictions, rate limits, protocol scheme, SNI mode, and URL prefix.
  • Include Response Headers — Whether to include HTTP response headers and status code in the output.

Output shape

a single updated distribution record

The output includes the updated distribution details. Enabling 'Include Response Headers' nests the response body under a 'body' key with accompanying 'headers' and 'statusCode'. Any invalid JSON in geo restriction inputs will be ignored without error.

Links

Discussion