device_Device Enrollment in EMM
Create a Google user and, if request body is not provided, generate a Google auth token for a specific device on the Google EMM side.
⚠️ Android only.
Creates a Google EMM user for a device and links it in Esper.
With no request body, Esper creates the Google user on the Google EMM side and generates an authentication token for the device. Check for an existing account with GET first to avoid duplicates.
About Creating a Device Google Account Esper normally creates this account during enrollment. Use this endpoint when a device enrolled without one.
Key Fields / Query Parameters
- deviceId — UUID of the device
- Request body (optional) — When included, tenant_id, google_user_id, device_id, and account_type are required
post/v2/devices/{deviceId}/google-accounts/
Request
- Base URLhttps://develop-api.esper.cloud/api
- URLhttps://develop-api.esper.cloud/api/v2/devices/{deviceId}/google-accounts/
- Authnone declared
Path parameters
deviceIdstring uuid required
The unique identifier of the device for which Google account details need to be updated.
Request body
Response
Successfully updated the Google account details.
Changes
No recorded changes to this operation across all 6 revisions of this API.