dex_delete_group
Delete a group from your Dex CRM while preserving all contacts within it. Use this tool to remove group structures without affecting contact records.
Instructions
Permanently delete a group. The contacts in the group are not deleted.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes |
Implementation Reference
- src/tools/groups.ts:59-71 (handler)The handler for 'dex_delete_group' tool that deletes a group via a DELETE request.
server.tool( "dex_delete_group", "Permanently delete a group. The contacts in the group are not deleted.", { groupId: z.string() }, async (args) => { try { const result = await dex.delete(`/v1/groups/${args.groupId}`); return toResult(result); } catch (error) { return toError(error); } } );