Skip to main content
Module

x/sparkpost/suppressionList.ts>SuppressionList

Send emails from deno via the SparkPost API
Latest
class SuppressionList
extends Base
import { SuppressionList } from "https://deno.land/x/sparkpost@0.1.1/suppressionList.ts";

Methods

delete(email: string)

Deletes a single entry, by email address ID

get(email: string)

Gets a single entry by email address ID

list(parameters: any)

Lists all entries in your suppression list, filtered by an optional set of parameters

upsert(listEntries: any)

Updates existing entries, or creates entries if they don't exist for that email address ID