panelDelete()

The function panelDelete() deletes one or more entries from the list of contacts used for sending mailings.

void panelDelete(string action, array searchParameters)

Warning: If you delete address entries with the action 'final', this cannot be undone.

Note: Deleting the address entries also deletes or disables all sending times that may exist for these address entries.

The following PHP code moves all address entries with the email address example@soscisurvey.de to the trash bin.

panelDelete('bin', ['email' => 'example@soscisurvey.de']);

The following PHP code disables all address entries in the current survey project.

panelDelete('disable', ['unspecific' => 'any']);