Method: customers.devices.move
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Richiesta HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatorio. Il nome del dispositivo da spostare.
|
Corpo della richiesta
Il corpo della richiesta contiene dati con la seguente struttura:
Rappresentazione JSON |
{
"destination": string
} |
Campi |
destination |
string
Obbligatorio. Il nome della nuova risorsa padre (nodo o cliente) a cui riassegnare il dispositivo.
|
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di Operation
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/userinfo.email
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eThis API moves a device under a new parent node or customer within the Spectrum Access System.\u003c/p\u003e\n"],["\u003cp\u003eThe request must specify the device's name and the destination's name (node or customer).\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an Operation object and requires the \u003ccode\u003ehttps://www.googleapis.com/auth/userinfo.email\u003c/code\u003e scope for authorization.\u003c/p\u003e\n"]]],["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"],null,["# Method: customers.devices.move\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nMoves a [device](/spectrum-access-system/reference/rest/customers.devices#Device) under another [node](/spectrum-access-system/reference/rest/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/customers#Customer).\n\n### HTTP request\n\n`POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------|\n| `name` | `string` Required. The name of the device to move. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|-----------------------------------|---|\n| ``` { \"destination\": string } ``` |\n\n| Fields ||\n|---------------|---------------------------------------------------------------------------------------------------------|\n| `destination` | `string` Required. The name of the new parent resource (Node or Customer) to reparent the device under. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/spectrum-access-system/reference/rest/Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/userinfo.email`"]]