> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # unregister > Remove an agent from the server's registry by route. Remove an agent from the server's registry. The agent's routes are no longer tracked, though Hono does not fully remove mounted routers at runtime. > **Note** > > Because Hono does not support dynamic route removal, the agent's HTTP routes may still > respond until the server restarts. This method primarily removes the agent from the > internal registry used by `getAgents()` and the root listing endpoint. ## **Parameters** **`route`** `string` — required The route of the agent to remove (e.g., `"/sales"`). --- ## **Returns** `boolean` -- `true` if an agent was registered at that route and was removed, `false` if no agent was found at the route. ## **Example** ```typescript {7} import { AgentBase, AgentServer } from '@signalwire/sdk'; const server = new AgentServer({ port: 3000 }); const agent = new AgentBase({ name: 'sales', route: '/sales' }); server.register(agent); const removed = server.unregister('/sales'); console.log(removed); // true ``` > Remove an agent from the server's registry by route.