Update newsletter list subscription by subscription ID
newsletter_list_subscriptions_update_by_subscription_idUpdate a newsletter list subscription by subscription ID to unsubscribe or change its state. Requires confirm=true and newsletter_lists:write for OAuth integrations.
Instructions
Update newsletter list subscription by subscription ID. Changes account state and requires confirm=true for the user-requested action. OAuth integrations require newsletter_lists: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. | |
| payload | No | Complete JSON body instead of individual body flags. Supports nullable fields and nested bulk structures. Cannot be combined with body flags or payload_file. | |
| unsubscribe | No | Set to true to unsubscribe the subscription from this newsletter list. | |
| payload_file | No | Local JSON request body file, at most 5 MB. Contents are validated before the API call and are never logged. | |
| publication_id | Yes | The prefixed ID of the publication object | |
| subscription_id | Yes | The prefixed ID of the subscription | |
| newsletter_list_id | Yes | The prefixed ID of the newsletter list object |