delete

Delete a secondary zone

Usage

ionosctl dns secondary-zone delete [flags]

Aliases

For secondary-zone command:

[secondary-zones sz]

For delete command:

[d del]

Description

Delete a secondary zone

Options

  -a, --all              Delete all secondary zones
  -u, --api-url string   Override default host url (default "dns.de-fra.ionos.com")
      --cols strings     Set of columns to be printed on output 
                         Available columns: [Id Name Description PrimaryIPs State] (default [Id,Name,Description,PrimaryIPs,State])
  -c, --config string    Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
  -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
  -z, --zone string      The name or ID of the DNS zone

Examples

ionosctl dns secondary-zone delete --zone ZONE_ID

Last updated