Command line to unassign device

Options

Hi,

I am using -assign parameter in Windows Host deployment to assign endpoints to API. I have a number of devices I need to dynamically unassign, based on their placement in our infrastructure. The best way for me would be to send a cmd command to unassign them when remote access is no longer needed for them. TeamViewer.exe does not seem to have help on cmd parameters, and I didn't find any information on unassigning. Is there a way to remove assignments via the command line from the endpoint, not from the management console?