Skip to content

Agents and the kill switch

Remove an agent

DEL/api/w/:wid/agents/:aid

Removes the agent and revokes its keys and connections. Its records stay in the ledger.

#Authentication

Session cookie

A signed-in person: the console's session cookie. Every state-changing request also carries the header x-immiscible-csrf: 1, and the member's role decides what it may do. Bearer tokens are ignored on these routes, so no machine credential can reach them.

#Path parameters

widstringrequired

Workspace id

aidstringrequired

Agent id