---
title: "Update the email subscription preferences for a tokenised user."
method: PATCH
path: "/api/v1/unsubscribe"
---

# Update the email subscription preferences for a tokenised user.

`PATCH /api/v1/unsubscribe`

Query params:
    token: signed JWT unsubscribe token (required)

Body (JSON, all fields optional):
    {"news": bool, "engagement": bool, "system_updates": bool}

## Request body

- object

## Response `200`

Success

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/trends/apis/trends-earth-api.md) · [All operations](https://skmtc.dev/trends/apis/trends-earth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trends/trends-earth-api/revisions/6bdbc0b84666/schema)
