Stop a running session using the MarinaBox SDK
from marinabox import MarinaboxSDK sdk = MarinaboxSDK() success = sdk.stop_session("abc123xyz") if success: print("Session stopped successfully") else: print("Failed to stop session")
try: success = sdk.stop_session("abc123xyz") if not success: print("Failed to stop session") except Exception as e: print(f"Error stopping session: {e}")