---
title: "Update Alert Notification"
method: PATCH
path: "/tools/alerts/{Id}"
tags: ["alerts"]
---

# Update Alert Notification

`PATCH /tools/alerts/{Id}`

Update Alert Notification.

## Path parameters

- `Id` integer, required

## Request body

- AlertBase
  - `email` string, email, required
  - `percentage` integer — Percentage of usage that will trigger the alert

## Response `200`

Sucess

Alert updated sucessfully.

- Alert
  - `email` string, email, required
  - `percentage` integer — Percentage of usage that will trigger the alert
  - `id` integer — Alert Id.

## Other responses

- `400` — Bad Request ###### Produces: * percentage_should_be_integer * percentage_should_not_be_less_than_0 * percentage_should_not_be_higher_than_100
- `401` — Unauthorized This API requires a valid API Key to be provided. (Use [/authentication/authorize](#/authentication/AuthenticationLogin) to obtain an API Key) Produces: * missing_authorization_key * invalid_authorization_key * account_is_inactive
- `404` — Not Found Please verify the alert id exists.

---

[API](https://skmtc.net/serversmtp/apis/turbosmtp-public-apis.md) · [All operations](https://skmtc.net/serversmtp/apis/turbosmtp-public-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serversmtp/turbosmtp-public-apis/versions/8503e099b215/schema)
