> ## Documentation Index
> Fetch the complete documentation index at: https://docs.korve.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Notification Prefs

> Update the organization's email notification preferences. Only the toggles provided change; webhook deliveries are unaffected.



## OpenAPI

````yaml /openapi.json patch /v1/orgs/{orgId}/notification-prefs
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/notification-prefs:
    patch:
      tags:
        - orgs
      summary: Set Notification Prefs
      description: >-
        Update the organization's email notification preferences. Only the
        toggles provided change; webhook deliveries are unaffected.
      operationId: orgs.setNotificationPrefs
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
      requestBody:
        required: true
        x-korve-max-bytes: 1048576
        content:
          application/json:
            schema:
              type: object
              properties:
                deployFailed:
                  type: boolean
                  description: >-
                    Email the organization's owners and admins when a deployment
                    fails.
                budgetAlert:
                  type: boolean
                  description: Email when a project passes its budget alert threshold.
                budgetExceeded:
                  type: boolean
                  description: Email when a project reaches its monthly budget cap.
      responses:
        '200':
          description: The updated toggles.
          content:
            application/json:
              schema:
                type: object
                properties:
                  deployFailed:
                    type: boolean
                    description: >-
                      Email the organization's owners and admins when a
                      deployment fails.
                  budgetAlert:
                    type: boolean
                    description: Email when a project passes its budget alert threshold.
                  budgetExceeded:
                    type: boolean
                    description: Email when a project reaches its monthly budget cap.
                required:
                  - deployFailed
                  - budgetAlert
                  - budgetExceeded
        '422':
          description: No toggles provided, or a non-boolean value.
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````