capabilities.work

Restore a Deleted User

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

Recipe · 3 steps

Restore a Deleted User

with Google Workspace · Identity & Access Management

Locate a deleted user and undelete it back into an org unit.

  1. List deleted users in the customer account so the target can be confirmed as present in the recoverable window.
  2. Restore the deleted user account and place it into the supplied organizational unit.
  3. Read the restored user back to confirm the account is active again and placed in the expected org unit.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer access token with the admin.directory.user scope.
  • userKey: The unique id of the deleted user to restore.
  • orgUnitPath: Org unit path to restore the user into.
  • customer: Customer account id or the my_customer alias.
For your developer

Arazzo workflow google-workspace:restore-deleted-user, 3 operations: listUsers → undeleteUser → getUser. Specs on APIs.io.