MailMoo
ToolsCRM

mailmoo_company_delete

Delete companies from the CRM

Deletes companies from the workspace. People who work there stay, including their campaign enrollments. Pass one company by exact name or id, or companyIds for several, up to 5,000. A name that matches more than one company is refused. Without confirm it changes nothing and returns how many would be deleted: show that and ask, then call again with confirm: true. To delete the people, use person_delete.

Effect: Write. See Effects.

Permissions: Delete people and companies, Read CRM.

Parameters

ParameterTypeRequiredDescription
companystringNoOne company, by exact name or id.
companyIdsarray of stringNoCompanies to delete, each an exact name or an id. Combined with company.
confirmbooleanNoLeave 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.

On this page