Creates a device. Only company-owned device may be created.
Note: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium
HTTP request
POST https://cloudidentity.googleapis.com/v1beta1/devices
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"device"
:
{
object (
|
Fields | |
---|---|
device
|
Required. The device to be created. The name field within this device is ignored in the create method. A new name is created by the method, and returned within the response. Only the fields |
customer
|
Optional. Resource name
of the customer. If you're using this API for your own organization, use |
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires one of the following OAuth scopes:
-
https://www.googleapis.com/auth/cloud-identity.devices
-
https://www.googleapis.com/auth/cloud-identity
For more information, see the Authentication Overview .