Method: chromeosdevices.moveDevicesToOu
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Birden fazla ChromeOS cihazını bir kuruluş birimine taşır veya ekler. Tek seferde en fazla 50 cihaz taşıyabilirsiniz.
HTTP isteği
POST https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
customerId |
string
Değişmez. Google Workspace hesabının kimliği
|
Sorgu parametreleri
Parametreler |
orgUnitPath |
string
Hedef kuruluş biriminin tam yolu veya kimliği
|
İstek içeriği
İstek metni, ChromeOsMoveDevicesToOu
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt, biçimi yöntem tarafından tanımlanan genel bir HTTP yanıtıdır.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/admin.directory.device.chromeos
Daha fazla bilgi için Yetkilendirme kılavuzuna bakın.
ChromeOsMoveDevicesToOu
JSON gösterimi |
{
"deviceIds": [
string
]
} |
Alanlar |
deviceIds[] |
string
OU'ya taşınacak Chrome OS cihazlar
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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 |"]]