Page Summary
-
Creating a new EMM-managed user requires authorization and a POST request to the specified URL.
-
The request body must include a Users resource with
accountIdentifierandaccountType. -
If a user with the same account identifier exists, the existing user will be updated, with only the
displayNamefield being changeable. -
The request requires authorization with the
https://www.googleapis.com/auth/androidenterprisescope.
Creates a new EMM-managed user.
The Users
resource
passed in the body of the request should include an accountIdentifier
and an accountType
.
If a corresponding user already exists with the same account identifier,
the user will be updated with the resource. In this case only the displayName
field can be changed.
Request
HTTP request
POST https://www.googleapis.com/androidenterprise/v1/enterprises/ enterpriseId /users
Parameters
enterpriseId
string
Authorization
This request requires authorization with the following scope:
| Scope |
|---|
https://www.googleapis.com/auth/androidenterprise
|
For more information, see the authentication and authorization page.
Request body
In the request body, supply a Users resource with the following properties:
accountIdentifier
string
accountType
string
userAccount
can be installed on multiple devices, but a deviceAccount
is specific to a single device. An EMM-managed user ( emmManaged
) can be either type ( userAccount
, deviceAccount
), but a Google-managed user ( googleManaged
) is always a userAccount
.Acceptable values are:
- "
deviceAccount" - "
userAccount"
Response
If successful, this method returns a Users resource in the response body.

