Mailchimp Connector
Documentation
Version: 1
Documentation

EndPoint Delete List Member (Permanent delete)


Name

delete_list_member_permanent

Description

Delete all personally identifiable information related to a list member, and remove them from a list. This will make it impossible to re-import the list member. [API reference]

Parameters

Parameter Label Required Options Description
ListId List Id YES The ID of the list for which you like to perform this operation.
Id Member Id YES The ID of the list member for which data should be deleted.

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(4000) 4000 False
Status DT_WSTR nvarchar(4000) 4000 False
StatusCode DT_I4 int False

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use Mailchimp Connector in API Source component to read data or in API Destination component to read/write data:

Delete List Member (Permanent delete) using API Source

Mailchimp
Delete List Member (Permanent delete)
SSIS API Source - Read from table or endpoint

Delete List Member (Permanent delete) using API Destination

Mailchimp
Delete List Member (Permanent delete)
SSIS API Destination - Access table or endpoint

ODBC application

Use these SQL queries in your ODBC application data source:

Delete list members permanently from a Mailchimp List which are created after specific date (i.e. after Opt In time).

Delete list member operation archives the record.

select * from delete_list_member_permanent 
WITH (ListId='a4d24015f8' , Id='170a0722daae03855d6434eb3a5959fb' )

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Delete list members permanently from a Mailchimp List which are created after specific date (i.e. after Opt In time).

Delete list member operation archives the record.

DECLARE @MyQuery NVARCHAR(MAX) = 'select * from delete_list_member_permanent 
WITH (ListId=''a4d24015f8'' , Id=''170a0722daae03855d6434eb3a5959fb'' )';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_MAILCHIMP_IN_DATA_GATEWAY];