---
title: "Update a single notification threshold"
method: PATCH
path: "/accounts/{accountId}/notification-thresholds/{thresholdId}"
tags: ["notification thresholds"]
---

# Update a single notification threshold

`PATCH /accounts/{accountId}/notification-thresholds/{thresholdId}`

Requires **accounts:read** and either of **accounts:write** or **accounts:write:all** scopes.

## Path parameters

- `accountId` string, uuid, required
- `thresholdId` string, uuid, required

## Request body

- NotificationThresholdPost
  - `value` integer, required — The value of the threshold in minor units of the currency, eg. pennies for GBP. This can also be a negative value e.g. -10000.
  - `type` 'gt' | 'lt', required — The type of threshold, either great than or less than

## Response `200`

Successful Notification Threshold Response

- object
  - `data` NotificationThreshold
    - `id` string — The id of the threshold, used to update and delete it
    - `value` integer — The value of the threshold in minor units of the currency, eg. pennies for GBP. This can also be a negative value e.g. -10000.
    - `type` 'gt' | 'lt' — The type of threshold, either great than or less than
  - `meta` object

## Other responses

- `400` — Unsuccessful Response - Bad request - Missing query parameters - Missing body properties
- `401` — Unsuccessful Notification Threshold Response
- `403` — Unsuccessful Response - Forbidden - Invalid scopes
- `404` — Unsuccessful Response - Resource Not Found

---

[API](https://skmtc.net/moneyhub/apis/moneyhub-data-api.md) · [All operations](https://skmtc.net/moneyhub/apis/moneyhub-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moneyhub/moneyhub-data-api/versions/f2eb965eb9af/schema)
