---
title: "Set Newsletter Pref"
method: PUT
path: "/api/auth/newsletter"
tags: ["auth"]
---

# Set Newsletter Pref

`PUT /api/auth/newsletter`

## Request

- Base URL: `https://kernelscan.io`
- URL: `https://kernelscan.io/api/auth/newsletter`
- Auth: none declared

Give or withdraw consent to product news.

``require_user``, not ``require_verified_user``: withdrawal must be at least
as easy as giving consent (Art. 7(3)), and an unverified account that ticked
the box at signup has to be able to take it back. One toggle, no
confirmation step, no reason asked.

## Response `200`

Successful Response

- object

---

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