delete

Delete a distribution

Usage

ionosctl cdn distribution delete [flags]

Aliases

For distribution command:

[ds]

For delete command:

[del d]

Description

Delete a distribution

Options

  -a, --all                      Delete all records if set (required)
  -u, --api-url string           Override default host url (default "https://api.ionos.com")
      --cols strings             Set of columns to be printed on output 
                                 Available columns: [Id Domain CertificateId State]
  -c, --config string            Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
  -i, --distribution-id string   The ID of the distribution you want to retrieve (required)
  -f, --force                    Force command to execute without user input
  -h, --help                     Print usage
      --no-headers               Don't print table headers when table output is used
  -o, --output string            Desired output format [text|json|api-json] (default "text")
  -q, --quiet                    Quiet output
  -v, --verbose                  Print step-by-step process when running command

Examples

ionosctl cdn ds delete --distribution-id ID

Last updated