v20

OpenAPI 3.1.0raw.githubusercontent.com2026-08-01970424.3 KB
Emails

Update notification preference

Enable or disable a specific notification category for a user.

patch/emails/notification-preference/{user_id}/{notification_category_id}

Path parameters

user_idstring required

The ID of the user, or the special value me for the currently authenticated user

Example:3241a285-8329-4d69-8f3d-316e08cf140c

The ID of the user, or the special value me for the currently authenticated user

notification_category_idstring

Request body

enabledboolean required

Example request

{}

Response

Successful response

notification_category_idstring required
notification_category_namestring required
enabledboolean required
can_disableboolean required