class RecipientLists
extends Base
import { RecipientLists } from "https://deno.land/x/sparkpost@0.1.1/recipientLists.ts";
Methods
create(recipientList: any)
Create a new recipient list https://developers.sparkpost.com/api/recipient-lists#recipient-lists-create-post
delete(id: string)
Delete an existing recipient list https://developers.sparkpost.com/api/recipient-lists#recipient-lists-delete-delete
get(id: string, options: any)
Get a list of all your recipient lists https://developers.sparkpost.com/api/recipient-lists#recipient-lists-list-get
list()
Get a list of all your recipient lists https://developers.sparkpost.com/api/recipient-lists#recipient-lists-retrieve-get
update(id: string, recipientList: any)
Update an existing list https://developers.sparkpost.com/api/recipient-lists#recipient-lists-update-put