Method: partners.customers.create
Creates a customer for zero-touch enrollment. After the method returns successfully, admin and owner roles can manage devices and EMM configs by calling API methods or using their zero-touch enrollment portal. The customer receives an email that welcomes them to zero-touch enrollment and explains how to sign into the portal.
HTTP request
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The parent resource ID in the format partners/[PARTNER_ID] that identifies the reseller.
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"customer": {
object (Company )
}
} |
Fields |
customer |
object (Company )
Required. The company data to populate the new customer. Must contain a value for companyName and at least one owner_email that's associated with a Google Account. The values for companyId and name must be empty.
|
Response body
If successful, the response body contains a newly created instance of Company
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidworkprovisioning
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-07 UTC.
[null,null,["Last updated 2024-08-07 UTC."],[[["This endpoint creates a new customer for zero-touch enrollment, enabling them to manage devices and EMM configurations via API or the zero-touch portal."],["The HTTP request is a `POST` to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers`, using gRPC Transcoding syntax."],["The `parent` path parameter is required and identifies the reseller in the format `partners/[PARTNER_ID]`."],["The request body must include a `customer` object with the company name and at least one owner email associated with a Google Account."],["Successfully creating a customer returns a `Company` instance, and the operation requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope."]]],[]]