Method: schemas.update

更新架构。

HTTP 请求

PUT https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}

网址采用 gRPC 转码语法。

路径参数

参数
customerId

string

Google Workspace 帐号的不可变 ID。

schemaKey

string

架构的名称或不可变 ID。

请求正文

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

响应正文

如果成功,响应正文将包含一个 Schema 实例。

授权范围

需要以下 OAuth 作用域:

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

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