---
title: "Back to the default server alert thresholds (memory 85 %, disk 80 %, swap 50 %, CPU 90 %, load above the CPU count, 5 minutes)"
method: DELETE
path: "/operator/server/alerts"
tags: ["Operator"]
---

# Back to the default server alert thresholds (memory 85 %, disk 80 %, swap 50 %, CPU 90 %, load above the CPU count, 5 minutes)

`DELETE /operator/server/alerts`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/operator/server/alerts`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Query parameters

- `reason` string, required

## Response `200`

Reset

- object
  - `settings` object, required
    - `memoryPercent` integer, nullable, required
    - `diskPercent` integer, nullable, required
    - `swapPercent` integer, nullable, required
    - `cpuPercent` integer, nullable, required
    - `loadPerCore` number, nullable, required: alert when the 1-minute load divided by the logical CPUs reaches this (1 = load equal to the number of cores)
    - `forMinutes` integer, required: an alert starts once every minute sample of this many minutes is at or above its threshold
    - `notify` boolean, required: send a server_alert notification (in-app and email) to the operators when an alert starts and ends
    - `isDefault` boolean, required: true: nothing saved, the defaults apply
    - `note` string, nullable, required
    - `updatedAt` string, nullable, required: ISO-8601 timestamp
    - `updatedByEmail` string, nullable, required
  - `replay` boolean, required

## Other responses

- `400`: Invalid request (code invalid_request)
- `403`: A change on an operator-console session older than 5 minutes (code forbidden, details.reauthenticate: sign in again at /admin/login), or an operator removed since the session was resolved
- `404`: Not found (code not_found); also the answer to any request without a live operator-console session
- `429`: Too many requests (code rate_limited); see Retry-After
- `501`: Not available on this server (code not_configured): migration 156 is not applied

---

[API](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api.md) · [All operations](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/revisions/4d08337cdff1?raw)
