Method: customers.devices.move

Moves a device under another node or customer.

HTTP request

POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the device to move.

Request body

The request body contains data with the following structure:

JSON representation
{
  "destination": string
}
Fields
destination

string

Required. The name of the new parent resource node or customer to reparent the device under.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/sasportal