---
search:
  tags:
    - alerts
    - POST
seo:
  description: >-
    Creates an alert router silence on the service… Reference for the POST
    /api/v1/database-services/{id}/alert-mute endpoint in the TimescaleDB
    Enterprise API.
  noindex: true
sidebar:
  label: Mute a service's alerts
  badge: POST
title: Mute a service's alerts
type: openapi-operation
---
Creates an alert router silence on the service label, for example for maintenance. It replaces an earlier mute of the console for the same service. The silence is keyed by the service name.

`POST /api/v1/database-services/{id}/alert-mute`

**Request body** (`application/json`, required)

- `comment` (string)
- `minutes` (integer<int64>, required)

Request body example:

```json
{
  "comment": "string",
  "minutes": 1
}
```

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "mutedUntil": "string"
}
```
