How To Delete a Disconnected/Unresponsive Unattended Session via API Call/Swagger

How can I delete an unresponsive/disconnected unattended session from the Monitoring tab in the Orchestrator UI?

Resolution

  1. Navigate to Tenant->Monitoring->Unattended Sessions and find the record.
  2. Open the Network tab of the Developer Console (CTRL+SHIFT+I).
  3. Clear the network log.

  1. Click the Refresh icon.

  1. Look for the OData.GetMachineSessionRuntimes record and expand the objects in the preview list to the unresponsive record and copy the session ID.

  1. Open swagger (ex. https://cloud.uipath.com///orchestrator_/swagger/index.html. Enter sessionID into /odata/Sessions/UiPath.Server.Configuration.OData.DeleteInactiveUnattendedSessions and hit execute.

  1. Return to Monitoring page in Orchestrator, refresh page, and removal of unresponsive record should be instantaneous.