How to remove domain name from host name using Hammer

Problem:
Hostname in Foreman does not match hostname of client
Expected outcome:
Ability to add or remove domain from name using Hammer

Foreman and Proxy versions:
Version 2.3.5
Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:
Hi,
I’d like the Foreman names of my hosts to match the hostname of my clients.

However for some reason it sometimes adds a domain name to the foreman host name. I’m not that interested in the domain attribute they have. I can null or add the domain details in the GUI through editing the NIC interfaces but I can only add domains using hammer.