---
title: "Update a member's notification settings"
method: PATCH
path: "/v1/organizations/{organizationId}/members/{userId}/notificationSettings"
tags: ["Notifications"]
---

# Update a member's notification settings

`PATCH /v1/organizations/{organizationId}/members/{userId}/notificationSettings`

## Request

- Base URL: `https://api.clickhouse.cloud`
- URL: `https://api.clickhouse.cloud/v1/organizations/{organizationId}/members/{userId}/notificationSettings`
- Auth: HTTP basic

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Sets the notification settings an organization member has explicitly chosen. Each rule names notification types, resources and channels, and applies one effect to every combination of them. A notification type no rule names keeps the setting it had, so this endpoint never has to carry a member's whole configuration. Three effects: 'enabled' and 'disabled' store an explicit choice, and 'inherit' removes the stored setting so the notification follows the platform default again. Sending the same body twice changes nothing the second time. The request either applies completely or changes nothing: a rule naming a notification type that does not exist, that the member cannot configure, or a resource the caller cannot access is rejected whole, as is a request that names the same type, resource and channel twice. A request carries at most 100 rules, addressing at most 1000 settings in total.

## Path parameters

- `organizationId` string, uuid, required
- `userId` string, uuid, required

## Request body

- MemberNotificationSettingsPatchRequest
  - `rules` NotificationSettingRule[], required: Rules to apply. Every rule is applied, in the order given.
    - `effect` string, required: What the rule does to the settings it names. One of 'enabled', 'disabled', 'inherit'. 'inherit' removes the setting, so the notification follows the platform default for the member's role again, whoever set it.
    - `notifications` string[], required: Notification types the rule applies to, named as in [List notification types](#tag/Notifications/operation/notificationTypesGetList).
    - `resources` string[], required: IDs of the resources the rule applies to, of the kind each notification type reports as its `resourceType`. Name every ID: there are no wildcards, and a rule covers no resource created afterwards. Notification types that apply to the organization itself, such as billing, take the organization ID.
    - `channels` string[]: Delivery channels the rule applies to. One of 'ui', 'email'. Omit to apply the rule to every channel.

## Response `200`

Successful response

- object
  - `status` number: HTTP status code.
  - `requestId` string, uuid: Unique id assigned to every request. UUIDv4
  - `result` MemberNotificationSettingsPatchResponse
    - `settings` NotificationSetting[], required: The member's settings for what the request addressed, after the change. A setting the request set to 'inherit' is absent, because it no longer exists.
      - `type` string, required: Notification type the setting applies to, named as in [List notification types](#tag/Notifications/operation/notificationTypesGetList). New types are added over time, so treat this as an open set.
      - `resourceType` string, required: Kind of resource `resourceId` identifies. Current values: service, organization, clickpipe, postgres. New values may be added over time. [List notification types](#tag/Notifications/operation/notificationTypesGetList) reports the same value for every notification of a given type.
      - `resourceId` string, required: ID of the resource the setting applies to, of the kind `resourceType` gives. Settings that apply to the organization itself, such as billing notifications, carry the organization ID.
      - `channelType` string, required: Delivery channel the setting applies to. One of 'ui', 'email'.
      - `effect` string, required: Whether the member receives this notification on this channel for this resource. One of 'enabled', 'disabled'.

## Other responses

- `400`: The request cannot be processed due to a client error. Please verify your request parameters and try again.
- `500`: An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.

## Changes

- **2026-11-06** `812a0623f548`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/changes/v1/organizations/:organizationId/members/:userId/notificationSettings/patch.md)

---

[API](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud.md) - [All operations](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/revisions/eac345053548?raw)
