修改消息模板
开发中
PUT
https://api.flashcat.cloud/api/n9e/message-template/{id}
最后修改时间:2025-02-19 09:43:22
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.flashcat.cloud/api/n9e/message-template/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "FeiShu Registration Template",
"ident": "feishu_registration_template",
"content": {
"subject": "Welcome to our service, {{username}}!",
"body": "Hi {{username}}, your verification code is {{verification_code}}. Please use it to complete your registration."
},
"user_group_ids": [2],
"notify_channel_id": 1
}'
响应示例响应示例
{
"err": ""
}
请求参数
Path 参数
id
string
必需
Body 参数application/json