---
title: Delete Domains
url: https://docs.vultr.com/products/network/dns/management/delete-domains
description: Remove a domain with its zones and every DNS record from Vultr DNS. Deleted records cannot be recovered.
publish_date: 2024-09-23T20:21:56.213377Z
last_updated: 2026-10-23T20:01:28.645439Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

# How to Delete a Domain from Vultr DNS

Deleting a domain removes it and all existing DNS records such as zones from Vultr DNS. DNS records cannot be recovered when a domain is deleted from Vultr DNS.

Follow this guide to delete a domain from Vultr DNS using the Vultr Console, API, CLI, or Terraform.

=== "Vultr Console"

    1. Navigate to **Products**, expand the **Network** group and click **DNS** to view all domains in your account.
    1. Click **Delete Domain** next to your target domain.
    1. Click **Delete Domain** in the confirmation prompt to delete the target domain.

=== "Vultr API"

    1. Send a `GET` request to the [**List DNS domains** endpoint](https://www.vultr.com/api/#tag/dns/operation/list-dns-domains) and note the target domain in your output.

        ```console
        $ curl "https://api.vultr.com/v2/domains" \
           -X GET \
           -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

    1. Send a `DELETE` request to the [**Delete Domain** endpoint](https://www.vultr.com/api/#tag/dns/operation/delete-dns-domain) to delete the domain.

        ```console
        $ curl "https://api.vultr.com/v2/domains/{dns-domain}" \
          -X DELETE \
          -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

=== "Vultr CLI"

    1. List all domains available in your Vultr account and note the target domain.

        ```console
        $ vultr-cli dns domain list
        ```

    1. Delete the domain.
 
        ```console
        $ vultr-cli dns domain delete <domain>
        ```

=== "Terraform"

    1. Open your Terraform configuration where the domain is defined.

    1. Remove the `vultr_dns_domain` resource block, or destroy it by target.

        ```terraform
        resource "vultr_dns_domain" "example" {
            domain = "example.com"
        }

        # To delete, either remove this block from configuration
        # or run: terraform destroy -target vultr_dns_domain.example
        ```

    1. Apply the configuration and observe the following output:

        ```
        Apply complete! Resources: 0 added, 0 changed, 1 destroyed.
        ```
