{:new_window: target="blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre} {:child: .link .ulchildlink}
Removing the agent from an edge cluster¶
{: #remove_agent}
To unregister an edge cluster and remove the {{site.data.keyword.ieam}} agent from that cluster, perform these steps:
- Extract the agent-uninstall.sh script from the tar file:
- Export your Horizon exchange user credentials:
export HZN_ORG_ID=<your-exchange-organization>
export HZN_EXCHANGE_USER_AUTH=<authentication string>
export HZN_EXCHANGE_URL= # example http://open-horizon.lfedge.iol.unh.edu:3090/v1
export HZN_FSS_CSSURL= # example http://open-horizon.lfedge.iol.unh.edu:9443
- Remove the agent:
Note: Occasionally, deleting the namespace stalls in the "Terminating" state. In this situation, see A namespace is stuck in the Terminating state to manually delete namespace.}{: .externalLink