This library provides easy access to the Suppression List Resource.
Note: All methods return promises and accept an optional last argument callback. Read about how we handle callbacks and promises.
- list([parameters])
List all entries in your suppression list, filtered by an optional set of search parameters.parameters
- an object of search parameters
- get(email)
Retrieve an entry by recipient email.email
-String
email address to check required
- upsert(listEntries)
Insert or update one or many entries.listEntries
- an object entry list attributes orArray
of entry list attribute objects
- delete(email)
Remove an entry by recipient email.email
-String
email address to remove required
Visit our examples section to see all of our suppression list resource examples.