Manage the Suppression List resource
masterThe SparkPost Node.js client provides methods to manage your Suppression List, which contains email addresses that should not receive further communications.
All methods in this library return Promises and also accept an optional callback as the last argument.
Supported operations include:
- list([parameters]): Retrieve entries filtered by search parameters.
- get(email): Retrieve a specific entry by the recipient's email address.
- upsert(listEntries): Insert or update one or many entries. Accepts a single entry object or an array of entry objects.
- delete(email): Remove an entry by the recipient's email address.