Update message notice
POST
/v1/message-notice/updateAt least one parameter to be modified must be provided; do not include parameters that do not require changes in the request.
请求参数
Body Params multipart/form-data
token
string
required
Token generated by the management backend.
Example:
{{token}}
message_notice_id
string
required
Rule ID (can be obtained from the GetMX backend, or through the /v1/message-notice/list endpoint; the 'id' field
Example:
12345678
platform
string
optional
Platform: 1 for WebHook, 2 for Lark, 3 for WeCom, 4 for DingTalk
Example:
1
notice_url
string
optional
WebHook notification URL
Example:
http://api.com/notice
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
integer
required
msg
string
required
data
null
required
Example
{
"code": 0,
"msg": "string",
"data": null
}
Last modified: 6 个月前