I am sending a request to get all robots for a given tenant along with the OU/Folder ID. The folder ID is a required header for this API which I don’t understand as robots are created at the tenant level. When I send the request, I get an HTTP 200 but I get a response indicating an empty collection:
For this tenant, there are 9 robots which I can see through Orchestrator at the tenant level.
On this tenant, I only have access to one folder although there are at least a dozen folders including Default and Shared. I am passing the ID of the one folder I have access to.
I assume I have the correct permissions of Robot.View as I can see the robots in Orchestrator. I’m also a Tenant Administrator and a Folder Administrator for the folder ID I am passing in the HTTP header.
What am I missing here? Why is a Folder ID/OU required to get all robots through the API?