Skip to main content
DELETE
Permanently destroys a session and tears down the underlying sandbox. This is irreversible. Files inside the sandbox are lost unless they were committed and pushed. For a reversible “stop” that preserves the sandbox state, use POST /api/sessions/{id}/pause instead. Required scope: sessions:delete

Path Parameters

string
required
The session ID to destroy.

Headers

string
required
Bearer token. Example: Bearer runtm_xxx

Response

200 OK.
string
The destroyed session ID.
string
ISO 8601 timestamp when destruction completed.
string
Confirmation message.

Errors