DELETE /v1/agents/{id}
MSPs live and die by automation. We use tools like ImmyBot to onboard Huntress agents without touching the portal, but offboarding still requires manual intervention. That's the single broken link in an otherwise fully automated endpoint lifecycle workflow.
Every decommission, reimage, device swap, or stale asset cleanup requires someone to log in and click. At scale, this adds up fast and introduces inventory drift when people forget.
What we're asking for is simple: A DELETE /v1/agents/{id} endpoint that removes or decommissions the agent tied to that ID. Soft-delete is fine if hard delete isn't feasible for retention reasons. Standard permissions, audit logging, and clean error responses are all we need.
This isn't a nice-to-have. It's the missing half of the API. Every other step in the lifecycle is automatable today — onboarding, monitoring, alerting — except this one. One endpoint closes the loop for a huge swath of your MSP base.