latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Server Administration
Server Nodes

Add linked server node

This function links your server to a remote server node. The server uses an API token to communicate with the remote server node.

Important:

get/link_server_node_with_api_token

Query parameters

aliasstring required
Example:example

A unique name that refers to the remote server node.

Note:

The alias may only contain alphanumeric characters, dashes (-), and underscores (_). It also has a maximum length of 50 characters.

api_tokenstring required
Example:23ZX8RA1FTE1IVJRL90MB5CREDS4UE2H

The API token required to make API calls to the remote server node.

Note:

The API token must have root-level access on the remote server node.

hostnamestring hostname required
Example:host.example.com

The remote server node's hostname.

Note:

This parameter does not accept an IP address.

usernamestring username required
Example:root

The username required to make API calls to the remote server node.

Note:

The username must have root-level access on the remote server node.

skip_tls_verification1 | 0

Whether to skip SSL/TLS verification. The system performs this action when it queries the remote server node.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "link_server_node_with_api_token",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}