修改通知内容模板
最近更新时间: 2026-10-10 00:14:48
1. 接口描述
接口请求域名: cls.api3.fincloud.tencent.com。
修改通知内容模板
默认接口请求频率限制:20次/秒。
接口更新时间:2025-03-28 11:51:32。
接口只验签名不鉴权。
2. 输入参数
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数。
| 参数名称 | 必选 | 允许NULL | 类型 | 描述 |
|---|---|---|---|---|
| Action | 是 | 否 | String | 公共参数,本接口取值:ModifyNoticeContent |
| Version | 是 | 否 | String | 公共参数,本接口取值:2020-10-16 |
| Region | 是 | 否 | String | 公共参数,地域信息可通过DescribeRegions接口查看产品支持的地域列表 |
| NoticeContentId | 是 | 否 | String | 通知内容模板ID。 示例值: noticetemplate-5b2ea996-4dae-47cc-bbad-5b12888b4c89 |
| Name | 否 | 否 | String | 通知内容模板名称。 示例值: inner alarm |
| Type | 否 | 否 | Uint64 | 通知内容语言。 0:zh 1:英文 示例值: 0 |
| NoticeContents | 否 | 否 | Array of NoticeContent | 通知内容模板详细信息 示例值:查看 |
3. 输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| RequestId | String | 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 |
4. 错误码
该接口暂无业务逻辑相关的错误码,其他错误码详见公共错误码。
5. 示例
示例1 修改通知内容配置
修改通知内容配置
输入示例
POST / HTTP/1.1
Host: cls.api3.fincloud.tencent.com
Content-Type: application/json
X-TC-Action: ModifyNoticeContent
<Common Parameters>
{
"NoticeContentId": "noticetemplate-5b2ea996-4dae-47cc-bbad-5b12888b4c89",
"Name": "inner alarm",
"Type": 0,
"NoticeContents": [
{
"Type": "Http",
"TriggerContent": {
"Title": "this is title",
"Content": "this is content",
"Headers": [
"Content-Type:application/json"
]
},
"RecoveryContent": {
"Title": "this is title",
"Content": "this is content",
"Headers": [
"Content-Type:application/json"
]
}
}
]
}
输出示例
{
"Response": {
"RequestId": "d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1"
}
}