Added API method to delete subscribers
This commit is contained in:
parent
eab46d758a
commit
c72f03ff5e
4 changed files with 125 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<ol class="breadcrumb">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li class="active">Automation Triggers</li>
|
||||
<li><a href="/triggers">Automation Triggers</a></li>
|
||||
<li class="active">Triggered {{name}}</li>
|
||||
</ol>
|
||||
|
||||
|
|
|
@ -113,3 +113,30 @@
|
|||
|
||||
<pre>curl -XPOST {{serviceUrl}}api/unsubscribe/B16uVTdW?access_token={{accessToken}}\
|
||||
--data 'EMAIL=test@example.com'</pre>
|
||||
|
||||
<h3>POST /api/delete/:listId – Delete subscription</h3>
|
||||
|
||||
<p>
|
||||
This API call deletes a subscription
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>GET</strong> arguments
|
||||
</p>
|
||||
<ul>
|
||||
<li><strong>access_token</strong> – your personal access token
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
<strong>POST</strong> arguments
|
||||
</p>
|
||||
<ul>
|
||||
<li><strong>EMAIL</strong> – subscriber's email address (<em>required</em>)
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
<strong>Example</strong>
|
||||
</p>
|
||||
|
||||
<pre>curl -XPOST {{serviceUrl}}api/delete/B16uVTdW?access_token={{accessToken}}\
|
||||
--data 'EMAIL=test@example.com'</pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue