KSC Open API
Kaspersky Security Center API description
HostGroup::UpdateHost ( wstring  strHostName,
params  pInfo 
)

Modifies the specified attributes for the host.

Parameters:
strHostName(wstring) host name. A unique string generated by the server (see the KLHST_WKS_HOSTNAME attribute). It is not the same as the computer network name, for example, DNS name, FQDN name, NetBIOS name.
pInfo(params) container with the host attributes to be modified. See List of the host attributes.

See also how to use the KlAkOAPI Python package:

            server = KlAkOAPI.AdmServer.KlAkAdmServer.Create("https://ksc.example.com:13299", "username", "password", verify = False)
            oHostGroup = KlAkOAPI.HostGroup.KlAkHostGroup(server)
            # name of the host to change attributes
            strHostName = ...
            oHostGroup.UpdateHost(strHostName, {"KLHST_WKS_DN": "New host display name"})