cURL
curl --request DELETE \ --url https://api.example.com/api/v1/sandboxes/{id}/terminals/{pid}
Terminal deleted