Forrest logo
back to the aws tool

aws-route53:tldr:e4606

aws-route53: Delete a zone (if the zone has non-defaults SOA and NS records the command will fail).
$ aws route53 delete-hosted-zone --id ${zone_id}
try on your machine

The aws route53 delete-hosted-zone command is used to delete a hosted zone in Amazon Route 53.

Here's a breakdown of the command:

  • aws is the command-line interface (CLI) provided by Amazon Web Services (AWS).
  • route53 is the AWS service for managing DNS and domain name registration.
  • delete-hosted-zone is the specific action or operation to perform.
  • --id ${zone_id} is a parameter passed to the command that specifies the ID of the hosted zone to delete. ${zone_id} is a placeholder for the actual ID value, which should be provided when using the command.

In order to use this command, you need to replace ${zone_id} with the actual ID of the hosted zone that you want to delete. You can find the ID of a hosted zone by using the aws route53 list-hosted-zones command or by checking the AWS management console.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the aws tool