---
title: "Update global notification routes"
method: PUT
path: "/notification-routes/global"
tags: ["notifications"]
---

# Update global notification routes

`PUT /notification-routes/global`

Replaces global default notification channel routes. Route channel IDs must reference notification channels. Developer, manager, or admin only.

## Query parameters

- `remoteNode` string

## Request body

- NotificationRouteSetInput — Replacement route set for a global or workspace notification scope
  - `enabled` boolean, required — Whether this route set can deliver notifications
  - `inheritGlobal` boolean, required — For workspace route sets, true means inherit Global instead of using workspace routes. Ignored for global route sets.
  - `routes` NotificationRouteInput[], required
    - `id` string — Stable route ID. Omit when adding a route.
    - `channelId` string, required — Notification channel ID
    - `enabled` boolean, required — Whether this route receives notifications
    - `events` NotificationEventType[] — Events delivered by this route. Omit only for backward compatibility; new clients should send an explicit event list.

## Response `200`

Global notification route set updated

- NotificationRouteSet — Notification routes for a global or workspace scope
  - `id` string — Stable route set ID, present after the route set is saved
  - `scope` 'global' | 'workspace', required — Notification route scope
  - `workspace` string — Workspace name for workspace-scoped route sets
  - `enabled` boolean, required — Whether this route set can deliver notifications
  - `inheritGlobal` boolean, required — For workspace route sets, true means inherit Global instead of using workspace routes
  - `routes` NotificationRoute[], required
    - `id` string, required — Stable route ID
    - `channelId` string, required — Notification channel ID
    - `enabled` boolean, required — Whether this route receives notifications
    - `events` NotificationEventType[] — Events delivered by this route. Empty is treated as operational defaults for backward compatibility.
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `updatedBy` string — User ID that last updated the route set

## Other responses

- `400` — Invalid notification route set
- `403` — Forbidden - insufficient permissions
- `404` — Referenced notification channel was not found
- `default` — Unexpected error

---

[API](https://skmtc.net/dagucloud/apis/dagu.md) · [All operations](https://skmtc.net/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/93cc41f2018a/schema)
