Partially modify a zone's properties. This command uses a combination of GET and PUT to simulate a PATCH operation
Usage
ionosctl dns zone update [flags]
Aliases
For zone command:
[z zones]
For update command:
[u]
Description
Partially modify a zone's properties. This command uses a combination of GET and PUT to simulate a PATCH operation
Options
-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 NameServers Enabled State]
-c, --config string Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
--description string The new description of the DNS zone
--enabled Activate or deactivate the DNS zone (default true)
-f, --force Force command to execute without user input
-h, --help Print usage
-n, --name string The new name of the DNS zone, e.g. foo.com
--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 (required)
Examples
ionosctl dns z update --zone ZONE --name newname.com