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.