---
title: "PUT /notification-routes/{id}"
method: PUT
path: "/notification-routes/{id}"
tags: ["Notification Routes"]
---

# PUT /notification-routes/{id}

`PUT /notification-routes/{id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/notification-routes/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- UpdateNotificationRouteRequest
  - `enabled` boolean, nullable
  - `max_severity` string, nullable
  - `min_severity` string, nullable
  - `name` string, nullable
  - `provider_ids` integer[], nullable

## Response `200`

Route updated

- NotificationRoute
  - `created_at` string, date-time, required
  - `enabled` boolean, required
  - `id` integer, required
  - `max_severity` string, required
  - `min_severity` string, required
  - `name` string, required
  - `provider_ids` integer[], required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid route
- `404`: Route not found
- `409`: Route name already exists
- `500`: Internal server error

## Changes

- **2026-11-26** `e1864d950604`: 2 breaking
  - the `created_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
  - the `updated_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
- **2026-09-07** `11b114eb9283`: 1 info
  - endpoint added
- **2026-09-07** `f7404eb7ac98`: 1 breaking
  - api path removed without deprecation
- **2026-08-27** `964de88ec3c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/notification-routes/:id/put.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)
