dex_delete_contact
Permanently delete a contact and all associated data from your Dex CRM using the contact ID.
Instructions
Permanently delete a contact by ID. Removes the contact and all associated data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes |
Implementation Reference
- src/tools/contacts.ts:225-237 (handler)The implementation of the 'dex_delete_contact' tool, which registers the tool with the server, defines the input schema, and executes the delete request to the API.
server.tool( "dex_delete_contact", "Permanently delete a contact by ID. Removes the contact and all associated data.", { contactId: z.string() }, async (args) => { try { const result = await dex.delete(`/v1/contacts/${args.contactId}`); return toResult(result); } catch (error) { return toError(error); } } );