Delete subscription
delete_subscriptionPermanently remove a subscription from a Beehiiv publication when the user explicitly confirms with confirm=true; OAuth integrations require subscriptions:write.
Instructions
Delete subscription. Changes account state and requires confirm=true for the user-requested action. OAuth integrations require subscriptions:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private account from BEEHIIV_ACCOUNTS. Defaults to BEEHIIV_DEFAULT_ACCOUNT or the first configured account. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| publication_id | Yes | The prefixed ID of the publication object | |
| subscription_id | Yes | The prefixed ID of the subscription object |