Forum Discussion
vijay
2 years agoLevel 1.5: Cupcake
[ISSUE] Android Management API - Unable to remove the password from the device
When I execute this on HTTP, I receive a response. [REQUEST] POST https://androidmanagement.googleapis.com/v1/enterprises/LC04k33pjm/devices/32931cb718c4bbcf:issueCommand?key=[YOUR_API_KEY] HTTP/...
- 2 years ago
Take a look into the documentation:
Flags that can be used for the RESET_PASSWORD command type.
EnumsRESET_PASSWORD_FLAG_UNSPECIFIED This value is ignored. REQUIRE_ENTRY Don't allow other admins to change the password again until the user has entered it. DO_NOT_ASK_CREDENTIALS_ON_BOOT Don't ask for user credentials on device boot. LOCK_NOW Lock the device after password reset. Also see this (https://developers.google.com/android/management/reference/rest/v1/enterprises.devices/issueCommand):
newPassword string
For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new password must be at least 6 characters long if it is numeric in case of Android 14 devices. Else the command will fail with INVALID_VALUE.
resetPasswordFlags[] enum (ResetPasswordFlag)
For commands of type RESET_PASSWORD, optionally specifies flags.
Related Content
- 2 years ago
- 2 years ago