UiPath Orchestrator icon

UiPath Orchestrator

Interact with UiPath Orchestrator API

Actions148

Sessions → Delete Inactive Sessions

AI-generated

Summary

Deletes unattended robot sessions that have been inactive for at least the configured number of minutes, optionally limited to specific machines by ID. This is a destructive cleanup operation.

Inputs

  • inactivityThresholdMinutes (required) — Minutes of inactivity before a session is considered for deletion. Required; defaults to 30.
  • machineIds — JSON array of machine IDs to delete inactive sessions from. Leave as [] or omit to apply to all machines.

Output shape

operation-scoped deletion request

Returns the UiPath Orchestrator API response from the delete-inactive-sessions request.

Discussion