POST Update Channel endpoint.
Endpoint
POST
/web/v1/system/notifications/channels/update WEBAuthentication
- Chain: WEB
- JWT Token: true
- API Key: false
- Permissions: ["platform:notification:write"]
Rate Limit
Standard rate limit applies.
Headers
Frontend Headers
| Header | Required | Description |
|---|---|---|
| X-LOCALE | Yes | 用户的 locale |
| Accept-Language | No | 语言偏好 |
Cloudflare Headers
| Header | Required | Description |
|---|---|---|
| CF-Connecting-IP | Yes | Client IP from Cloudflare |
| CF-IPCountry | Yes | Client country code |
| CF-Ray | Yes | Cloudflare Ray ID |
| CF-Visitor | Yes | Visitor scheme |
| CF-Worker | No | Cloudflare Worker indicator |
| CF-TCP-Port | No | Client TCP port |
| CF-Edge-Keep-Alive | No | Edge keep-alive status |
| CF-Cache-Status | No | Cache status |
| CDN-Loop | No | CDN loop detection |
| X-Real-IP | Yes | Real client IP |
Nginx Headers
| Header | Required | Description |
|---|---|---|
| X-PORTAL-ACCESS-CODE | Yes | Portal access code |
| X-Real-IP | Yes | 客户端真实 IP |
| X-Forwarded-For | Yes | 代理链 |
| X-Forwarded-Proto | Yes | 协议 |
Request Parameters
Body (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
| bizId | String | Yes | 渠道业务ID (必填) |
| channelName | String | No | 渠道名称 (可选) |
| channelRemark | String | No | 渠道备注 (可选) |
| channelStatus | NotificationChannelStatus | No | 渠道状态 (可选) |
| emailConfig | EmailChannelConfig | No | 邮件配置 (可选) |
Response
200 OK
| Field | Type | Description |
|---|---|---|
| data.bizId | String | 业务ID |
| data.institutionBizId | String | 门户业务ID |
| data.channelName | String | 渠道名称 |
| data.channelRemark | String | 渠道备注 |
| data.channelCategory | NotificationChannelType | 渠道类别 |
| data.channelStatus | NotificationChannelStatus | 渠道状态 |
| data.emailConfig | EmailChannelConfig | 邮件配置 |
| data.createdAt | Instant | 创建时间 |
| data.updatedAt | Instant | 更新时间 |
| data.createdBy | String | 创建人 |
| data.updatedBy | String | 更新人 |