To set or update user host mask, use the command user/update_hosts_mask:
svc=user/update_hosts_mask¶ms={"userId":<long>, "hostsMask":<text>}
{ "hm":<text> /* host mask */ }