You can choose RemoveLeadFromList as the target object in a
synchronization
task when you want to remove a specific lead from a static list. When you configure a task to remove a lead from the list, you can use only the delete operation. When you run the task, the REST API removes that lead from the list in Marketo.
Before you remove a lead from a list, ensure that both the lead that you want to remove and the list exists in Marketo. When you select a list in Marketo, the list ID appears in the URL for that static list.
The following source file is a sample .csv file that you can use to remove leads from a list:
Listid, id
1111, 2
The Marketo API removes the lead with ID 2 from the list that contains ID 1111.