---
title: "Update Notification Preference"
method: PUT
path: "/api/notifications/preferences/{topic}"
tags: ["notifications"]
---

# Update Notification Preference

`PUT /api/notifications/preferences/{topic}`

## Request

- Base URL: `https://api.retirementlab.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retirementlab.app/api/notifications/preferences/{topic}`
- Auth: HTTP bearer

## Path parameters

- `topic` string, required

## Request body

- NotificationPreferenceUpdateRequest
  - `push_opted_in` boolean, required

## Response `200`

Successful Response

- NotificationPreferenceUpdateResponse
  - `topic` string, required
  - `push_opted_in` boolean, required
  - `last_updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/retirementlab/apis/income-simulator-api.md) · [All operations](https://skmtc.dev/retirementlab/apis/income-simulator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/retirementlab/apis/income-simulator-api/revisions/b0f00a0333fd?raw)
