This function unlinks a remote server node from your server.
Important:
This function does not unlink mail servers that are currently in use. You must first delete any accounts that use the linked mail server.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ unlink_server_node \ alias='example'
{- "data": {
- "alias": "example",
- "enabled_services": [
- "apache_php_fpm"
], - "hostname": "example.com",
- "last_check": 1556576165,
- "system_settings": {
- "Mail": {
- "globalspamassassin": "0"
}
}, - "tls_verified": 1,
- "username": "root",
- "version": "11.86.0.0",
- "worker_capabilities": {
- "Mail": { }
}
}, - "metadata": {
- "command": "unlink_server_node",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}