ToolsCRM
mailmoo_person_delete
Delete people from the CRM
Deletes people from the workspace. This removes the person record itself: their sequences stop and their rows in every campaign are deleted. It is not remove_from_campaign, which only takes leads out of one campaign and leaves the people. Pass person ids from person_search or person_get_context, up to 5,000. Without confirm it changes nothing and returns how many people and campaign enrollments would be removed: show that and ask, then call again with confirm: true.
Effect: Write. See Effects.
Permissions: Delete people and companies.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
personIds | array of string | Yes | Person ids to delete, from person_search or person_get_context. |
confirm | boolean | No | Leave out first: the call then changes nothing and returns what would happen. Show that to the user, and call again with confirm: true once they agree. |

