Skip to content

Delete Newsletter Draft

Tool name: delete-newsletter-draft

Deletes an email newsletter draft in KlickTipp, along with its email, its audience conditions and its system tags. Only drafts can be deleted: a newsletter that is scheduled, on its way out or already sent is refused, and so is one that other entities still refer to -- the refusal names them. This cannot be undone, so only call it for a newsletter the user has explicitly asked to delete.

Input schema

newsletterIdinteger, >= 1required

ID of the newsletter to delete

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "newsletterId": 1, "accountId": null }

Output schema

accountIdintegerrequired
newsletterIdintegerrequired
namestringrequired
deletedbooleanrequired
deletedEmailIdintegerrequired
Output example
{ "accountId": 0, "newsletterId": 0, "name": "string", "deleted": true, "deletedEmailId": 0 }