Please create an ability to automatically clean up offline VMs in a non-persistent VDI environment.
For your unusual use case - why not use a scheduled script (like PowerShell) and an API like RMM+ to do exactly what you want?
Do you have an example powershell just to see how it looks and works like? It doesn't have to be directly related to the question above.
Email me email@example.com as it's a bit long / complex for here - but I certainly have a couple of API calls that will get you started (including for given SC GUID how long has machine been on / offline), along with how to do that from PowerShell or PHP.
Customer support service by UserEcho