# remove / purge old agent from stream servers DB

**URL:** <https://community.netdata.cloud/t/remove-purge-old-agent-from-stream-servers-db/4607>\
**Category:** General\
**Created:** [August 22, 2023, 6:57pm UTC](https://community.netdata.cloud/t/remove-purge-old-agent-from-stream-servers-db/4607 "2023-08-22T18:57:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![perfecto25](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/perfecto25/32/2716_2.png) [@perfecto25](https://community.netdata.cloud/u/perfecto25)\
**Post date:** [August 22, 2023, 6:57pm UTC](https://community.netdata.cloud/t/remove-purge-old-agent-from-stream-servers-db/4607/1 "2023-08-22T18:57:22Z")

</div>

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?
