delete

Delete a record

Usage

ionosctl dns reverse-record delete [flags]

Aliases

For reverse-record command:

[rr]

For delete command:

[d del rm]

Description

Delete a record

Options

  -a, --all               Delete all records if set (required)
  -u, --api-url string    Override default host URL (default "https://dns.de-fra.ionos.com")
      --cols strings      Set of columns to be printed on output 
                          Available columns: [Id Name IP Description] (default [Id,Name,IP,Description])
  -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
  -l, --location string   Location of the resource to operate on. Can be one of: de/fra
      --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
      --record string     The record ID or IP which you want to delete (required)
  -v, --verbose           Print step-by-step process when running command

Examples

ionosctl dns rr delete -af
ionosctl dns rr delete --record RECORD_IP
ionosctl dns rr delete --record RECORD_ID

Last updated