Method: users.undelete

恢复删除的已删除用户。

HTTP 请求

POST https://admin.googleapis.com/admin/directory/v1/users/{userKey}/undelete

网址采用 gRPC 转码语法。

路径参数

参数
userKey

string

用户的不可变 ID

请求正文

请求正文包含一个 UserUndelete 实例。

响应正文

如果成功,则响应为通用 HTTP 响应,其格式由方法定义。

授权范围

需要以下 OAuth 作用域:

  • https://www.googleapis.com/auth/admin.directory.user

如需了解详情,请参阅授权指南

恢复删除的用户

JSON 表示法
{
  "orgUnitPath": string
}
字段
orgUnitPath

string

用户的组织部门