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
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name to delete |
Implementation Reference
- src/tools/domain.ts:253-278 (handler)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, }; } } ); - src/services/dynadot-client.ts:182-184 (handler)The underlying API client method that performs the domain deletion.
async deleteDomain(domain: string): Promise<DynadotResponse> { return this.call("delete", { domain }); }