Method: chromeosdevices.moveDevicesToOu
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
複数の ChromeOS デバイスを組織部門に移動または挿入します。一度に移動できるデバイスは 50 台までです。
HTTP リクエスト
POST https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
customerId |
string
変更不可。Google Workspace アカウントの ID
|
クエリ パラメータ
パラメータ |
orgUnitPath |
string
対象の組織部門のフルパスまたは ID
|
リクエストの本文
リクエストの本文には ChromeOsMoveDevicesToOu
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスはメソッドによって定義された形式の汎用 HTTP レスポンスになります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/admin.directory.device.chromeos
詳しくは、認可ガイドをご覧ください。
ChromeOsMoveDevicesToOu
JSON 表現 |
{
"deviceIds": [
string
]
} |
フィールド |
deviceIds[] |
string
OU に移動する ChromeOS デバイス
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# Method: chromeosdevices.moveDevicesToOu\n\nMoves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once.\n\n### HTTP request\n\n`POST https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|--------------------------------------------------------|\n| `customerId` | `string` Immutable. ID of the Google Workspace account |\n\n### Query parameters\n\n| Parameters ||\n|---------------|----------------------------------------------------------------|\n| `orgUnitPath` | `string` Full path of the target organizational unit or its ID |\n\n### Request body\n\nThe request body contains an instance of [ChromeOsMoveDevicesToOu](/workspace/admin/directory/reference/rest/v1/chromeosdevices/moveDevicesToOu#ChromeOsMoveDevicesToOu).\n\n### Response body\n\nIf successful, the response is a generic HTTP response whose format is defined by the method.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admin.directory.device.chromeos`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent).\n\nChromeOsMoveDevicesToOu\n-----------------------\n\n| JSON representation |\n|-------------------------------------|\n| ``` { \"deviceIds\": [ string ] } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------|\n| `deviceIds[]` | `string` Chrome OS devices to be moved to OU |"]]