---
title: "Change your account advertising choice"
method: PUT
path: "/api/privacy/advertising"
tags: ["Privacy"]
---

# Change your account advertising choice

`PUT /api/privacy/advertising`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/privacy/advertising`
- Auth: API key in cookie `luca.session_token`

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Headers

- `Luca-API-Version` '1'

## Request body

- AdvertisingChoiceUpdate
  - `allowed` boolean, required
  - `noticeVersion` '2026-09-08', required

## Response `200`

ok

- AdvertisingChoice
  - `allowed` boolean, required
  - `chosenAt` string, nullable, required
  - `expiresAt` string, nullable, required
  - `noticeVersion` string, required

## Other responses

- `400`: validation failed
- `401`: unauthorized
- `429`: rate limited
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
