---
title: "Update User Notification Preferences"
method: PATCH
path: "/v1/user/notification_preference"
tags: ["user"]
---

# Update User Notification Preferences

`PATCH /v1/user/notification_preference`

Update user's notification preferences

## Request body

- object
  - `weekly_digest_email` boolean — Whether to receive weekly digest emails
  - `onboard_preference` object — Dynamic key-value pairs for onboarding preferences
  - `leaks_notifications` object — Leak notification preferences by type
    - `my_leaks` boolean — Personal email leak notifications
    - `employee_leaks` boolean — Corporate/employee domain leak notifications
    - `customer_leaks` boolean — Customer domain leak notifications
  - `real_time_autoscan` boolean — Whether to receive real-time autoscan notifications
  - `enable_auto_retest` boolean — Whether to enable auto retest

## Response `200`

Successfully updated notification preferences

- object
  - `message` string

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-10-28** `c9df54e2fb2c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/user/notification_preference/patch.md)

---

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