Skip to main content
Glama

delete_contact

Remove a contact record from your Dynadot domain registrar account when it's no longer associated with any domains.

Instructions

Delete a contact record. The contact must not be in use by any domain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contact_idYesContact ID to delete

Implementation Reference

  • MCP tool registration and handler implementation for 'delete_contact' which uses the Dynadot client.
    server.tool(
      "delete_contact",
      "Delete a contact record. The contact must not be in use by any domain.",
      {
        contact_id: z.string().describe("Contact ID to delete"),
      },
      async ({ contact_id }) => {
        try {
          const result = await client.deleteContact(contact_id);
          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: `Failed to delete contact: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );

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