Method: customers.devices.move
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
درخواست HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
| پارامترها |
|---|
name | string مورد نیاز. نام دستگاه برای جابجایی. |
درخواست بدن
بدنه درخواست حاوی داده هایی با ساختار زیر است:
| نمایندگی JSON |
|---|
{
"destination": string
} |
| فیلدها |
|---|
destination | string مورد نیاز. نام منبع والد جدید (Node یا Customer) برای بازپرداخت دستگاه تحت. |
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از Operation است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/userinfo.email
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],["This document details the process of moving a device to a different parent resource (node or customer) using a `POST` request. The request URL requires the device's name as a path parameter. The request body, in JSON format, must include the `destination`, specifying the new parent's name. A successful operation returns an `Operation` instance. This action requires the `https://www.googleapis.com/auth/userinfo.email` authorization scope.\n"]]