---
title: "Snooze an alert"
method: POST
path: "/api/v1/sdk/alerts/{alert_id}/snooze"
tags: ["public-api", "public-alerts"]
---

# Snooze an alert

`POST /api/v1/sdk/alerts/{alert_id}/snooze`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/sdk/alerts/{alert_id}/snooze`
- Auth: none declared

Snooze an alert for a specified duration.

**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
# Snooze for 24 hours
result = client.alerts.snooze("alert-uuid", duration_hours=24)
```

## Path parameters

- `alert_id` string, required

## Headers

- `Authorization` string

## Request body

- SnoozeAlertRequest: Request to snooze an alert.
  - `duration_hours` integer, required: Hours to snooze (1-720, max 30 days)
  - `notes` string, nullable: Optional notes

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
