---
title: "Update account settings"
method: PATCH
path: "/account"
tags: ["Account"]
---

# Update account settings

`PATCH /account`

Update the mutable account settings (such as display name and notification preferences) for the authenticated organization.

## Request body

- object
  - `spam_threshold` number, nullable — Global spam score threshold (0-15). Emails scoring above this are rejected. Set to null to disable.
  - `discard_content_on_webhook_confirmed` boolean — Whether to discard email content after the webhook endpoint confirms receipt.

## Response `200`

Updated account

- object
  - `success` true, required
  - `data` object, required
    - `id` string, uuid, required
    - `email` string, required
    - `plan` string, required
    - `spam_threshold` number, nullable
    - `discard_content_on_webhook_confirmed` boolean, required

## Other responses

- `400` — Invalid request parameters
- `401` — Invalid or missing API key
- `404` — Resource not found

---

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