Generate Token
|
|||||
|
|
Generates a token (activation code) to allow this user to configure their managed account in the Android Setup Wizard. Revokes any previously generated token.
This call only works with Google managed accounts
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Manage corporate Android devices
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
enterpriseId Required |
STRING |
The ID of the enterprise |
userId Required |
STRING |
The ID of the user |
= Parameter name
= Format
enterpriseId STRING Required The ID of the enterprise |
userId STRING Required The ID of the user |
Output
This building block provides 3 output parameters
Name | Format | Description |
---|---|---|
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#userToken" |
token |
STRING |
The token (activation code) to be entered by the user. This consists of a sequence of decimal digits. Note that the leading digit may be 0 |
userId |
STRING |
The unique ID for the user |
= Parameter name
= Format
kind STRING Identifies what kind of resource this is. Value: the fixed string "androidenterprise#userToken" |
token STRING The token (activation code) to be entered by the user. This consists of a sequence of decimal digits. Note that the leading digit may be 0 |
userId STRING The unique ID for the user |