---
title: "Update notification config"
method: PUT
path: "/api/v1/circuit-breaker/notifications/{id}"
tags: ["Circuit Breaker"]
---

# Update notification config

`PUT /api/v1/circuit-breaker/notifications/{id}`

## Request

- Base URL: `https://agent.getaxonflow.com`
- URL: `https://agent.getaxonflow.com/api/v1/circuit-breaker/notifications/{id}`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/docs/api/v1/circuit-breaker/notifications/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Request body

- CircuitBreakerNotificationUpdate
  - `type` 'webhook' | 'slack' | 'pagerduty'
  - `url` string
  - `secret` string
  - `tenant_id` string
  - `active` boolean

## Response `200`

Notification config updated

## Other responses

- `404`: Notification config not found

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/revisions/34d30fcb7fa1?raw)
