Google Workspace · Arazzo Workflow
Google Workspace Decommission an Org Unit
Version 1.0.0
Move a user out of an org unit, then delete the now-empty unit.
View Spec
View on GitHub
CalendarCollaborationEmailProductivityStorageVideo ConferencingGoogle WorkspaceArazzoWorkflows
Provider
Workflows
decommission-org-unit
Empty an org unit by moving its user out, then delete the unit.
Confirms the source org unit exists, patches the user's orgUnitPath to a destination unit to empty the source, and deletes the now-empty source org unit.
1
confirmOrgUnit
$sourceDescriptions.orgunitsApi.directory.orgunits.get
Read the source organizational unit to confirm it exists before emptying and deleting it.
2
moveUserOut
$sourceDescriptions.usersApi.directory.users.patch
Patch the user's orgUnitPath to the destination unit so the source organizational unit becomes empty.
3
deleteOrgUnit
$sourceDescriptions.orgunitsApi.directory.orgunits.delete
Delete the now-empty source organizational unit.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.