Method: schemas.insert

建立結構定義。

HTTP 要求

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

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
customerId

string

Google Workspace 帳戶的不可變更 ID。

要求主體

要求主體包含 Schema 的例項。

回應主體

如果成功,回應主體會包含新建立的 Schema 例項。

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱授權指南