Skip to content

Perform the unsubscribe (form submit or RFC 8058 one-click)

Executes the unsubscribe: writes a marketing suppression and records marketing consent as revoked. Serves both the confirm-button form submit and a mail client’s RFC 8058 List-Unsubscribe-Post one-click POST.

When the Accept header does NOT include text/html (mail-client one-click), responds with plain-text OK; otherwise returns an HTML “unsubscribed” page.

Auth: none (signed token in path).

token
required
string

HMAC-signed compliance token identifying (projectId, emailHash).

Unsubscribe recorded. HTML page for browsers; plain-text OK for RFC 8058 one-click clients (non-HTML Accept).

string

Missing/expired/invalid token, service misconfigured, or recipient not found for the token’s email hash. HTML error page.

Media typetext/html
string