Create bulk non-GMS Android enrollment tokens
Required Permission: mdm.aosp.enrollmentToken.create
Create multiple non-GMS Android enrollment tokens for device onboarding
Request
authorization
Authorization: Bearer <token>
application/json
{
"displayName": "string",
"tags": [
"string"
],
"managementMode": "DEVICE_OWNER",
"sendEmail": true,
"language": "es",
"emailText": "string",
"perpetual": true,
"aosPolicyAssignments": [
{
"aosPolicyId": "string",
"priority": 0
}
],
"dpcBuildTag": "string",
"duration": 0,
"pushNotificationProvider": "string",
"segmentId": 0,
"userEmails": [
"[email protected]"
]
}
Responses
application/json
{
"status": true,
"data": {
"total": 0,
"success": 0,
"fail": 0
}
}
application/json
{
"status": false,
"error": {
"code": 5017,
"message": "Limit Exceeded"
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}