Stay organized with collections
Save and categorize content based on your preferences.
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
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 deviceType, serialNumber and assetTag (if present) are used to create the device. All other fields are ignored. The deviceType and serialNumber fields are required.
customer
string
Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customerId}, where customerId is the customer to whom the device belongs.
Response body
If successful, the response body contains a newly created instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-17 UTC."],[[["This method is for creating company-owned devices and is available only to customers with specific SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium."],["The HTTP request uses the POST method at `https://cloudidentity.googleapis.com/v1beta1/devices` with gRPC Transcoding syntax."],["The request body requires a \"device\" object that specifies the `deviceType` and `serialNumber` of the new device, and it can contain an optional \"customer\" string which should be set to \"customers/my_customer\" for your own organization or \"customers/{customerId}\" for another organization."],["The response, if successful, will return an operation instance and ignore all other fields except `deviceType`, `serialNumber`, and `assetTag`."],["Authorization requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud-identity.devices` or `https://www.googleapis.com/auth/cloud-identity`."]]],[]]