---
title: "Silence an alarm (and future re-fires of the same type/scope) for a chosen duration, without permanently resolving it."
method: POST
path: "/projects/{project_id}/alarms/{alarm_id}/silence"
tags: ["Alarms"]
---

# Silence an alarm (and future re-fires of the same type/scope) for a chosen duration, without permanently resolving it.

`POST /projects/{project_id}/alarms/{alarm_id}/silence`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/alarms/{alarm_id}/silence`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `alarm_id` integer, required

## Request body

- SilenceAlarmRequest: Request body for `POST .../alarms/{alarm_id}/silence`.
  - `duration_hours` integer, required: How long to mute this alarm (and future re-fires of the same type/scope) for, in hours. Must be between 1 and 168 (7 days).

## Response `200`

Alarm silenced

## Other responses

- `400`: Invalid duration
- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Alarm not found
- `500`: Internal server error

## Changes

- **2026-09-07** `2a40922f832c`: 1 info
  - endpoint added
- **2026-09-07** `f7404eb7ac98`: 1 breaking
  - api path removed without deprecation
- **2026-08-30** `7a5eca71fbb1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/alarms/:alarm_id/silence/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
