enrollmentTokens
POST /androidenterprise/v1/enterprises/{enterpriseId}/enrollmentTokens
Changed onReturns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-device API to authenticate the user. The token can be generated for each device or reused across multiple devices.
Request
- Base URLhttps://androidenterprise.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/androidenterpriseAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/androidenterprise
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
enterpriseIdstring required
Required. The ID of the enterprise.
Request body
Response
Successful response
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status
- breaking