This function deletes the SSL virtual host.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ delete_ssl_vhost \ host='example.com'
{- "data": {
- "output": [
- "Deleting the SSL host for example.com",
- "Done."
], - "removed_vhost_data": [
- {
- "ip_port": [
- "192.0.2.0",
- "443"
], - "is_ssl": 1,
- "primary_on_ip_port": "example.net",
- "servername": "example.com",
- "vhost_entry": "<VirtualHost 192.0.2.0 :443>\nServerName example.com\nServerAlias [...]\n"
}
]
}, - "metadata": {
- "command": "delete_ssl_vhost",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}