---
title: "UnsubscribeSubscription"
method: POST
path: "/subscription/unsubscribe"
tags: ["Subscriptions"]
---

# UnsubscribeSubscription

`POST /subscription/unsubscribe`

Unsubscribe a subscription

## Request body

- object
  - `subscriptionId` string, required — <p>The subscription ID.</p>
  - `channelId` string, required — <p>The channel ID.</p>
  - `optOutSource` string, required — <p>The opt-out source.</p>
  - `markAsUnsubscribed` boolean — <p>Set to true to specifically handle email unsubscription (will mark email as blocked instead of removing the subscription).</p>
  - `topics` string[] — <p>Array of topic IDs to unsubscribe from. And it will be used only if <code>markAsUnsubscribed</code> is true.</p>

## Response `200`

Success-Response:

- object
  - `success` boolean
  - `id` string, required — <p>The Subscription ID</p>

---

[API](https://skmtc.dev/cleverpush/apis/cleverpush-api-reference.md) · [All operations](https://skmtc.dev/cleverpush/apis/cleverpush-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cleverpush/cleverpush-api-reference/revisions/c2dffd898fd9/schema)
