Subscriptions
Update Newsroom Unsubscribe Details
Add feedback to an existing newsroom unsubscribe event.
Personal token scopes: sites:write. Your account must also have access to the requested data. Authentication
PATCH
Personal access tokens: sites:write. Every listed scope is required; the token owner's permissions, feature availability and newsroom access still apply.
API_keyheader
AuthorizationBearer <token>Bearer authentication using an integration API key, or a personal access token only where the operation explicitly supports it. Every listed personal-token scope is required; owner permissions and newsroom access still apply.
newsroom_id*stringNewsroom UUID or ID
Length
1 <= lengthid*stringEmail Subscription UUID
application/json- body
locale?stringurl?stringcomment?stringreason?stringValue in
"unknown""unwanted""spam""never_signed_up""other"OK
application/json- response
subscription*curl -X PATCH 'https://api.prezly.com/v2/newsrooms/string/unsubscribe/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
{ "subscription": { "id": "string", "email_address": "string", "first_name": "string", "last_name": "string", "is_demo": true, "contacts": [ { "id": 0, "contact_type": "person", "display_name": "string", "function_name": "string", "avatar_url": "http://example.com", "is_deleted": true, "links": { "api": "http://example.com", "view": "http://example.com" } } ] }}