Skip to main content
Glama

delete_domain

Delete a domain from your Dynadot account during its grace period. This action permanently removes the domain registration.

Instructions

Delete a domain during its grace period. This action cannot be undone after the grace period expires.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name to delete

Implementation Reference

  • Tool registration and handler for 'delete_domain'.
    server.tool(
      "delete_domain",
      "Delete a domain during its grace period. This action cannot be undone " +
        "after the grace period expires.",
      {
        domain: z.string().describe("Domain name to delete"),
      },
      async ({ domain }) => {
        try {
          const result = await client.deleteDomain(domain);
          return {
            content: [
              { type: "text" as const, text: JSON.stringify(result, null, 2) },
            ],
          };
        } catch (error) {
          const msg = error instanceof Error ? error.message : String(error);
          return {
            content: [
              { type: "text" as const, text: `Domain deletion failed: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );
  • The underlying API client method that performs the domain deletion.
    async deleteDomain(domain: string): Promise<DynadotResponse> {
      return this.call("delete", { domain });
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikusnuz/dynadot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server