Update existing MDM user
Required Permission: mdm.global.mdmUser.update
Update device management user information including name, tags, language preference, and custom metadata while preserving email address.
Request
authorization
Authorization: Bearer <token>
application/json
{
"name": "string",
"managedAppleId": "[email protected]",
"tags": [
"string"
],
"language": "es",
"metadata": {}
}
Responses
application/json
{
"status": true,
"data": {
"id": "string",
"email": "[email protected]",
"name": "string",
"tags": [
"string"
],
"android": {
"devices": {
"MANAGEMENT_MODE_UNSPECIFIED": 0,
"DEVICE_OWNER": 0,
"PROFILE_OWNER": 0
},
"enrollmentTokens": {
"DONE": 0,
"PENDING": 0,
"EXPIRED": 0,
"DELETED": 0
}
},
"apple": {
"devices": 0,
"enrollmentTokens": 0
},
"windows": {
"devices": 0,
"enrollmentTokens": 0
},
"language": "es",
"managedAppleId": "[email protected]",
"metadata": {},
"inferredSegmentIds": [
0
],
"createdAt": "string",
"updatedAt": "string"
}
}
application/json
{
"status": false,
"error": {
"code": 5120,
"message": "Error updating entity"
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}