capabilities.work

Rename an Org Unit

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

Recipe · 3 steps

Rename an Org Unit

Patch an org unit's name and description and confirm the update.

  1. Read the organizational unit by its path to confirm it exists and capture its current name and id.
  2. Patch the organizational unit with the new name and description.
  3. Read the organizational unit back to confirm the new name and description are set.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer access token with the admin.directory.orgunit scope.
  • orgUnitPath: The full path (minus leading slash) of the org unit to rename.
  • name: The new name for the organizational unit.
  • description: The new description for the organizational unit.
  • customerId: Customer account id or the my_customer alias.
For your developer

Arazzo workflow google-workspace:rename-org-unit, 3 operations: getOrgUnit → patchOrgUnit → getOrgUnit. Specs on APIs.io.