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
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" }
API key starting with sk_case_
sk_case_
Instance ID to terminate
Instance terminated
Was this page helpful?