This function updates the username or remote access key for a cluster server.
Important:
If you log in to a configuration cluster server that is not the parent server, nothing will indicate that the server is part of a configuration cluster. You can only view and modify this information from the master server.
We recommend that you run this function as a POST
request with SSL enabled:
GET
method (for example, a URL in your browser).GET
method.name required | string The remote configuration cluster server's name or IP address. Example: name=example.com |
key | string The new remote access key. If you do not specify a value, the function does not update the remote access key. Example: key=d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0 |
user | string The server's Example: user=root |
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ update_configclusterserver \ name='example.com'
{- "metadata": {
- "command": "update_configclusterserver",
- "name": "example.com",
- "reason": "OK",
- "result": 1,
- "signature": "d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0:d0",
- "user": "root",
- "version": 1
}
}