Stay organized with collections
Save and categorize content based on your preferences.
Updates the details of an EMM-managed user.
Can be used with EMM-managed users only (not Google managed users).
Pass the new details in the
Users
resource in the request body. Only the displayName field
can be changed. Other fields must either be unset or have the
currently active value.
Request
HTTP request
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId
Parameters
Parameter name
Value
Description
Path parameters
enterpriseId
string
The ID of the enterprise.
userId
string
The ID of the user.
Authorization
This request requires authorization with the following scope:
In the request body, supply a Users resource with the following properties:
Property name
Value
Description
Notes
Optional Properties
displayName
string
The name that will appear in user interfaces. Setting this property is optional when creating EMM-managed users. If you do set this property, use something generic about the organization (such as "Example, Inc.") or your name (as EMM). Not used for Google-managed user accounts.
writable
Response
If successful, this method returns a Users resource in the response body.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-07-08 UTC."],[[["Updates the `displayName` of an EMM-managed user, requiring authorization with the `https://www.googleapis.com/auth/androidenterprise` scope."],["The request must be a `PUT` request sent to `https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId`, replacing `enterpriseId` and `userId` with their respective values."],["Only the `displayName` field can be updated; all other fields must remain unchanged or unset."],["This operation is exclusively for EMM-managed users and is not applicable to Google-managed users."]]],[]]