Obtain All Organization Units Sessions Using API

How to obtain all Organization Units Sessions Using API ?

While calling session API using Orchestrator HTTP activity, users are getting details for 1 unit only, though there are around 30 units in Orchestrator and ID which is being used for authentication and has access for all the units. Need guidance to get the data of all units and any specific unit using the same endpoint.

To get the details of all Organization units sessions, use below endpoint:  odata​/Sessions​/UiPath.Server.Configuration.OData.GetGlobalSessions