Disenroll non-GMS Android device
Required Permission: mdm.aosp.device.remove
Creates a DISENROLL command; marks device as pending disenroll only when command push is queued successfully. Calling this again for a pending disenroll device reuses an active pending DISENROLL command or retries when the previous command has expired. Optional query: wipeDataFlags, wipeReasonMessage
Request
authorization
Authorization: Bearer <token>
Responses
application/json
{
"status": true,
"data": {
"status": true
}
}
application/json
{
"status": false,
"error": {
"code": 5209,
"message": "Invalid input"
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}