Close Session
bashCopyEditcurl --location \
--request POST 'https://api.cros.one/session/close' \
--header 'Authorization: Bearer your-api-key' \
--header 'Content-Type: application/json' \
--data '{
"session_id": "1234567890abcdef",
"keep_alive": false,
"session_timeout_minutes": 10,
"screenshot": true
}'jsonCopyEdit{
"session_id": "1234567890abcdef",
"status": "closed",
"created_at": "2025-02-06T14:00:00.000Z",
"last_accessed_at": "2025-02-06T14:05:00.000Z",
"duration": "5 minutes",
"timeout_minutes": 10,
"error": null
}Last updated