Brain
Disconnect an agent from its knowledge base
Drops an agent’s connection. Takes an AGENT, not a knowledge base: a brain-scoped spelling would look as though it only dropped connections to that brain, and it would not. Disconnecting an agent that has no connection answers 404: 204 means a connection was dropped. The AGENT is scoped to the calling tenant_user, not to the company: a brain is shared by the company (brain_knowledge_bases has no tenant column) but an agents row is not, so an agent belonging to another tenant_user answers 404 resource_not_found — the same answer /v1/employees gives for it.
Disconnect an agent from its knowledge base