Hi,
I'm not sure if it's possible to achieve? Whilst the REST API doesn't appear to enable this functionality i was able to view the REST API post using this chrome plugin: WebSpy and could see that the "WindowsHostName=<%Hostname%>" snapcenter host is hidden within the body.
/Matt
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.