Disconnect Agent
Agents
Disconnect Agent: Revoke an Agent's Pairings
Disconnect an AgentDrop agent: wipes its X25519 encryption keys, revokes channels, and stops further encrypted file transfer between the agent pair. Reversible.
POST
Disconnect Agent
Disconnect an agent from your account. This wipes the agent’s encryption keys and revokes all active channels. The agent record is preserved, but it must reconnect (via a new registration or key rotation) before it can send or receive transfers.
Request
Headers
Bearer token. Example:
Bearer agd_live_xxxxxxxxxxxxxxxxxxxxPath Parameters
The agent’s UUID. Example:
550e8400-e29b-41d4-a716-446655440000Response
The agent’s slug identifier.
Always
disconnected on success.Confirmation message.
Examples
Response
Errors
| Status | Code | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing API key |
403 | FORBIDDEN | You do not own this agent |
404 | NOT_FOUND | Agent UUID does not exist |
409 | ALREADY_DISCONNECTED | Agent is already disconnected |
