---
title: "Update a notification provider"
method: PUT
path: "/notification-providers/{id}"
tags: ["Notification Providers"]
---

# Update a notification provider

`PUT /notification-providers/{id}`

## Request

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

## Path parameters

- `id` integer, required

## Request body

- UpdateProviderRequest
  - `config` unknown
  - `enabled` boolean, nullable
  - `name` string, nullable

## Response `200`

Successfully updated provider

- NotificationProviderResponse
  - `config` unknown, required
  - `created_at` string, date-time, required
  - `enabled` boolean, required
  - `id` integer, required
  - `name` string, required
  - `provider_type` string, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid minimum severity or masked provider configuration
- `404`: Provider not found
- `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-07-31** `00b2fffe41df`: 1 info
  - added the non-success response with the status `400`
- **2026-04-25** `774be20905f2`: 1 info
  - api operation id `update_provider` removed and replaced with `update_notification_provider`

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