Method: customers.devices.create

  • Creates a device under a node or customer using an HTTP POST request.

  • Requires specifying the parent resource (node or customer) in the URL path.

  • The request body must contain a Device object, as defined in the provided documentation.

  • A successful response returns the newly created Device object.

  • Requires authorization with the https://www.googleapis.com/auth/userinfo.email scope.

Creates a device under a node or customer.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the parent resource.

Request body

The request body contains an instance of Device.

Response body

If successful, the response body contains a newly created instance of Device.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/userinfo.email