Delete exclusion list
Delete one of your exclusion lists with all its domains.
DELETE https://cotlet.dev/api/v1/findymail/lists/{list_id}/exclusion-lists
write Confirm
Returns success. Only the owner can delete a list, and the domains on it are deleted too, so searches that used it start returning those companies again. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| list_id integer required | integer | Exclusion list ID from list_exclusion_lists. |
Request
curl -X DELETE https://cotlet.dev/api/v1/findymail/lists/1/exclusion-lists \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("findymail", "delete_exclusion_list", {"list_id":1}) const result = await cotlet.call('findymail', 'delete_exclusion_list', {"list_id":1}); cotlet call findymail delete_exclusion_list --data '{"list_id":1}' Example response
{
"success": true
}