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 API doesn't notify the customer that they have access.

HTTP request

POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers

The URL uses Google API HTTP annotation 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 Auth Guide.

Send feedback about...

Android zero-touch enrollment