---
search:
  tags:
    - alerts
    - PUT
seo:
  description: >-
    On (the default): while an upgrade, a restart, a rebuild… Reference for the
    PUT /api/v1/alert-planned-operations endpoint in the TimescaleDB Enterprise
    API.
sidebar:
  label: Set operation silences
  badge: PUT
title: Set operation silences
type: openapi-operation
---
On (the default): while an upgrade, a restart, a rebuild or a restore of a service runs, the console silences the alerts that the operation causes, for that service only. Off: the console makes no such silence, and the silences that exist expire at once.

`PUT /api/v1/alert-planned-operations`

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

- `enabled` (boolean, required)

Request body example:

```json
{
  "enabled": true
}
```

**Responses**

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

Response example, 200:

```json
{
  "enabled": true
}
```
