Subscriptions

UnsubscribeSubscription

Unsubscribe a subscription

post/subscription/unsubscribe

Request

  • Base URL
    https://api.cleverpush.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

subscriptionIdstring required
<p>The subscription ID.</p>
channelIdstring required
<p>The channel ID.</p>
optOutSourcestring required
<p>The opt-out source.</p>
markAsUnsubscribedboolean
<p>Set to true to specifically handle email unsubscription (will mark email as blocked instead of removing the subscription).</p>
topicsstring[]
<p>Array of topic IDs to unsubscribe from. And it will be used only if <code>markAsUnsubscribed</code> is true.</p>

Response

Success-Response:

successboolean
idstring required
<p>The Subscription ID</p>

Changes

No recorded changes to this operation across all 3 revisions of this API.