doctl compute cdn update

Go to Navigation

Usage

doctl compute cdn update <cdn-id> [flags]

Aliases

u

Description

This command allows you to update the configuration details of an existing Content Delivery Network (CDN).

Currently, you can only update the custom domain and its certificate ID with this command.

Flags

OptionDescription
--certificate-idSpecify a Certificate ID for the custom domain
--domainSpecify a custom domain to use with the CDN
--formatColumns for output in a comma-separated list. Possible values: ID, Origin, Endpoint, TTL, CustomDomain, CertificateID, CreatedAt
--help, -hHelp for this command
--no-headerReturn raw data with no headers
Default: false
--ttlThe “Time To Live” (TTL) value for cached content, in seconds
Default: 3600
CommandDescription
doctl compute cdnDisplay commands that manage CDNs

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false