Terminates a running GPU instance, calculates final cost, and cleans up SSH keys. This action is permanent and cannot be undone. All data on the instance will be lost.
curl --request DELETE \
--url https://api.case.dev/compute/v1/instances/{id} \
--header 'Authorization: Bearer <token>'{
"id": "gpu_abc123",
"name": "ocr-processing",
"status": "terminated",
"totalRuntimeSeconds": 3600,
"totalCost": "$0.60",
"message": "Instance terminated successfully"
}Was this page helpful?
curl --request DELETE \
--url https://api.case.dev/compute/v1/instances/{id} \
--header 'Authorization: Bearer <token>'{
"id": "gpu_abc123",
"name": "ocr-processing",
"status": "terminated",
"totalRuntimeSeconds": 3600,
"totalCost": "$0.60",
"message": "Instance terminated successfully"
}