remove / purge old agent from stream servers DB

hello, I have several ND agents running and streaming metrics to a central stream host

if I stop and uninstall an agent, the console on streamhost:19999 shows the old agent in the database, with blank metrics

I didnt see in docs a way to purge the DB of this agent, short of removing all data on the stream host /data directory which contains the dbengine

is there an API or anyhthing in the console to purge the agent?