---
title: "One-Click Unsubscribe (Rfc 8058)"
method: POST
path: "/v0/email-preferences/unsubscribe/{preference_key}"
tags: ["Email Preferences"]
---

# One-Click Unsubscribe (Rfc 8058)

`POST /v0/email-preferences/unsubscribe/{preference_key}`

## Request

- Base URL: `https://api.theirstack.com`
- URL: `https://api.theirstack.com/v0/email-preferences/unsubscribe/{preference_key}`
- Auth: none declared

Turn off one kind of email for the person the signed `token` belongs to. Answers both the one-click unsubscribe mail clients send (RFC 8058) and the button on the confirmation page.

## Path parameters

- `preference_key` string, required

## Query parameters

- `token` string, required

## Request body `application/x-www-form-urlencoded`

- BodyUnsubscribeEmailOneClickV0
  - `list_unsubscribe` string

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-10** `3c1b2daafcc9`: 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `200`
  - added the media type `text/html` for the response with the status `200`
- **2026-05-10** `1dae359ce2c7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/theirstack/apis/theirstack-api-reference/changes/v0/email-preferences/unsubscribe/:preference_key/post.md)

---

[API](https://skmtc.dev/theirstack/apis/theirstack-api-reference.md) - [All operations](https://skmtc.dev/theirstack/apis/theirstack-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/theirstack/apis/theirstack-api-reference/revisions/4f3da5ce4026?raw)
