cURL
curl --request DELETE \ --url https://{sandbox_id_or_name}.sandbox.tensorlake.ai/api/v1/pty/{session_id} \ --header 'Authorization: Bearer <token>'
{ "error": "<string>", "code": "<string>" }
Terminate a PTY session.
DELETE /api/v1/pty/{session_id}
curl -X DELETE https://<sandbox-id>.sandbox.tensorlake.ai/api/v1/pty/<session-id> \ -H "Authorization: Bearer $TENSORLAKE_API_KEY"
204 No Content
SIGHUP
SIGKILL
404 Not Found
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The PTY session identifier.
PTY session terminated
Was this page helpful?