Users: updateStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
This API call updates the details of an EMM-managed user and requires authorization.
It can only be used with EMM-managed users, not Google-managed users.
The request body should contain a Users resource, and only thedisplayNamefield can be changed.
The HTTP request uses the PUT method and includesenterpriseIdanduserIdpath parameters.
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 theUsersresource in the request body. Only thedisplayNamefield
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 aUsers resourcewith 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 aUsers resourcein 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 2024-10-31 UTC."],[],[]]