Server Administration
Server Nodes

Remove linked server node

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.

get/unlink_server_node

Query parameters

aliasstring required
Example:example

The name of a linked remote server node.

handle_api_token'leave' | 'expire_24h'
Example:expire_24h

What to do with the linkage’s stored API token on the remote server node:

  • leave: Leave the API token active.
  • expire_24h: Set the API token to expire after 24 hours. This can be undone.

Response

HTTP Request was successful.

Example response

{
  "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
  }
}