API referenceLists
JavaScript SDK: swarmhit.lists.leads.remove(listId, leadId)
Takes the lead off the list; the lead itself is kept. If the list is a
campaign's own list (the campaign's listId), the lead is also removed
from that campaign. 404 only for an unknown list: a lead that is not on
it still answers 200.
Authorization
bearerAuth AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Path Parameters
id*string
leadId*string
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/lists/string/leads/string"{ "data": { "ok": true }}