# Terminate an agent and close its sessions

The kill switch, and it is the SAME revocation DELETE /workloads/{id} performs, not a second mechanism.

This endpoint is described in full, with every parameter and response, in the OpenAPI description: https://docs.trustivan.com/openapi.yaml

Page: https://docs.trustivan.com/api-reference/agents/terminate-an-agent-and-close-its-sessions
