List non-GMS Android enrollment tokens
Required Permission: mdm.aosp.enrollmentToken.list
Retrieve non-GMS Android enrollment tokens for the enterprise
Request
authorization
Authorization: Bearer <token>
Responses
application/json
{
"status": true,
"data": {
"items": [
{
"id": "string",
"organizationId": "string",
"aosEnterpriseId": "string",
"segmentId": 0,
"mdmUserId": "string",
"mdmUser": {
"id": "string",
"email": "string"
},
"type": "aosp",
"subType": "enrollment",
"status": "PENDING",
"state": "PENDING",
"summary": {
"managementMode": "DEVICE_OWNER",
"expirationTimestamp": "string"
},
"managementMode": "DEVICE_OWNER",
"perpetual": true,
"aosDeviceId": "string",
"aosPolicyAssignments": [
{
"aosPolicyId": "string",
"aosPolicy": {
"id": "string",
"name": "string",
"version": "string"
},
"priority": 0
}
],
"displayName": "string",
"tags": [
"string"
],
"dpcBuildTag": "string",
"pushNotificationProvider": "string",
"config": {
"oneTimeToken": "string",
"enrollmentHost": "string",
"qrCode": {}
},
"updatedAt": "string",
"createdAt": "string"
}
],
"totalDocs": 0,
"limit": 0,
"hasPrevPage": true,
"hasNextPage": true,
"page": 0,
"totalPages": 0,
"prevPage": 0,
"nextPage": 0
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}