跳到主要内容
版本:latest

CloseSSLConf

关闭指定网站的 SSL 证书,之后网站将仅通过 HTTP 访问。

  • 路由POST /site
  • actionCloseSSLConf

输入参数

参数名称必选类型描述
actionString固定值 CloseSSLConf
siteNameString网站域名
updateOfString更新范围,固定 1

输出参数

参数名称类型描述
statusBooleantrue 表示关闭成功
msgStringSSL已关闭!

示例

POST /site HTTP/1.1
Content-Type: application/x-www-form-urlencoded

action=CloseSSLConf&siteName=testapi.bt.local&updateOf=1
{"status": true, "msg": "SSL已关闭!"}