---
search:
  tags:
    - alerts
    - PATCH
seo:
  description: >-
    The URL and the recipients cannot change: remove… Reference for the PATCH
    /api/v1/alert-delivery/destinations/{id} endpoint in the TimescaleDB
    Enterprise API.
sidebar:
  label: Change an alert destination
  badge: PATCH
title: Change an alert destination
type: openapi-operation
---
The URL and the recipients cannot change: remove the destination and add it again. Turning global off for the last global destination is allowed; deliveryConfigured then reports false.

`PATCH /api/v1/alert-delivery/destinations/{id}`

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

- `global` (boolean) — Omit to keep
- `minSeverity` (string) — Omit to keep
- `name` (string) — 1 to 64 characters after trimming. Omit to keep

Request body example:

```json
{
  "global": true,
  "minSeverity": "warning",
  "name": "string"
}
```

**Responses**

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

Response example, 200:

```json
{
  "display": "string",
  "global": true,
  "id": 0,
  "kind": "webhook",
  "minSeverity": "warning",
  "name": "string",
  "usedBy": [
    {
      "serviceId": "string",
      "serviceName": "string"
    }
  ]
}
```
