CloseSSLConf
关闭指定网站的 SSL 证书,之后网站将仅通过 HTTP 访问。
- 路由:
POST /site - action:
CloseSSLConf
输入参数
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| action | 是 | String | 固定值 CloseSSLConf |
| siteName | 是 | String | 网站域名 |
| updateOf | 是 | String | 更新范围,固定 1 |
输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| status | Boolean | true 表示关闭成功 |
| msg | String | SSL已关闭! |
示例
POST /site HTTP/1.1
Content-Type: application/x-www-form-urlencoded
action=CloseSSLConf&siteName=testapi.bt.local&updateOf=1
{"status": true, "msg": "SSL已关闭!"}