Method: chromeosdevices.moveDevicesToOu
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memindahkan atau menyisipkan beberapa perangkat Chrome OS ke unit organisasi. Anda dapat memindahkan hingga 50 perangkat sekaligus.
Permintaan HTTP
POST https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
customerId |
string
Tidak dapat diubah. ID akun Google Workspace
|
Parameter kueri
Parameter |
orgUnitPath |
string
Jalur lengkap unit organisasi target atau ID-nya
|
Isi permintaan
Isi permintaan memuat instance ChromeOsMoveDevicesToOu
.
Isi respons
Jika berhasil, responsnya adalah respons HTTP generik yang formatnya ditentukan oleh metode.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/admin.directory.device.chromeos
Untuk mengetahui informasi selengkapnya, lihat Panduan otorisasi.
ChromeOsMoveDevicesToOu
Representasi JSON |
{
"deviceIds": [
string
]
} |
Kolom |
deviceIds[] |
string
Perangkat Chrome OS yang akan dipindahkan ke OU
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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 |"]]