capabilities.work

Inspect the Org Unit Tree

A 2-step recipe with Google Workspace. We can help you get access.

Recipe · 2 steps

Inspect the Org Unit Tree

List child org units under a path and read the first in detail.

  1. List all child organizational units beneath the supplied path.
  2. Read the first returned child organizational unit in full to capture its parent path and id.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer access token with the admin.directory.orgunit.readonly scope.
  • orgUnitPath: The starting org unit path (minus leading slash) to list children under.
  • customerId: Customer account id or the my_customer alias.
For your developer

Arazzo workflow google-workspace:inspect-org-unit-tree, 2 operations: listOrgUnits → getOrgUnit. Specs on APIs.io.