# notification-preferences.update

Access: Bearer token required. Additional credential or scope: account:write. MCP allowed: yes (op_notification_preferences_update).

HTTP: POST /api/v2/execute. Replace the placeholder input below with an object matching the input JSON Schema; this example is not a runnable request.

{"version":1,"operation":"notification-preferences.update","input":<input-object matching schema>}

CLI: indielogs call notification-preferences.update '<input-json>' (command shape only; the placeholder is not a valid sample input).

Input JSON Schema (generated from the shared Zod input schema). JSON Schema describes representable structure; runtime refinements and transforms remain enforced by the canonical parser and may not be fully represented here.

```json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "in_app": {
      "type": "boolean"
    },
    "email_digest": {
      "type": "boolean"
    },
    "product_updates": {
      "type": "boolean"
    },
    "kinds": {
      "type": "object",
      "properties": {
        "draft_held": {
          "type": "object",
          "properties": {
            "in_app": {
              "type": "boolean"
            },
            "email": {
              "type": "boolean"
            }
          }
        },
        "press_soon": {
          "type": "object",
          "properties": {
            "in_app": {
              "type": "boolean"
            },
            "email": {
              "type": "boolean"
            }
          }
        },
        "published": {
          "type": "object",
          "properties": {
            "in_app": {
              "type": "boolean"
            },
            "email": {
              "type": "boolean"
            }
          }
        },
        "weekly_edition_sent": {
          "type": "object",
          "properties": {
            "in_app": {
              "type": "boolean"
            },
            "email": {
              "type": "boolean"
            }
          }
        },
        "new_follower": {
          "type": "object",
          "properties": {
            "in_app": {
              "type": "boolean"
            },
            "email": {
              "type": "boolean"
            }
          }
        },
        "cheers_digest": {
          "type": "object",
          "properties": {
            "in_app": {
              "type": "boolean"
            },
            "email": {
              "type": "boolean"
            }
          }
        },
        "payment_failed": {
          "type": "object",
          "properties": {
            "in_app": {
              "type": "boolean"
            },
            "email": {
              "type": "boolean"
            }
          }
        },
        "update_reply": {
          "type": "object",
          "properties": {
            "in_app": {
              "type": "boolean"
            },
            "email": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}

```