The androidenterprise1
command-line interface (CLI) allows to use most features of the Google Android Enterprise service from the comfort of your terminal.
By default all output is printed to standard out, but flags can be set to direct it into a file independent of your shell's
capabilities. Errors will be printed to standard error, and cause the program's exit code to be non-zero.
If data-structures are requested, these will be returned as pretty-printed JSON, to be useful as input to other tools.
Everything else about the Android Enterprise API can be found at the
official documentation site.
Installation and Source Code
Install the command-line interface with cargo using:
bash
cargo install google-androidenterprise1-cli
Find the source code on github.
Usage
This documentation was generated from the Android Enterprise API at revision 20220303. The CLI is at version 3.1.0.
```bash
androidenterprise1 [options]
devices
force-report-upload [-p ]...
get [-p ]... [-o ]
get-state [-p ]... [-o ]
list [-p ]... [-o ]
set-state (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
enterprises
acknowledge-notification-set [-p ]...
complete-signup [-p ]... [-o ]
create-web-token (-r )... [-p ]... [-o ]
enroll (-r )... [-p ]... [-o ]
generate-signup-url [-p ]... [-o ]
get [-p ]... [-o ]
get-service-account [-p ]... [-o ]
get-store-layout [-p ]... [-o ]
list [-p ]... [-o ]
pull-notification-set [-p ]... [-o ]
send-test-push-notification [-p ]... [-o ]
set-account (-r )... [-p ]... [-o ]
set-store-layout (-r )... [-p ]... [-o ]
unenroll [-p ]...
entitlements
delete [-p ]...
get [-p ]... [-o ]
list [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
grouplicenses
get [-p ]... [-o ]
list [-p ]... [-o ]
grouplicenseusers
list [-p ]... [-o ]
installs
delete [-p ]...
get [-p ]... [-o ]
list [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
managedconfigurationsfordevice
delete [-p ]...
get [-p ]... [-o ]
list [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
managedconfigurationsforuser
delete [-p ]...
get [-p ]... [-o ]
list [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
managedconfigurationssettings
list [-p ]... [-o ]
permissions
get [-p ]... [-o ]
products
approve (-r )... [-p ]...
generate-approval-url [-p ]... [-o ]
get [-p ]... [-o ]
get-app-restrictions-schema [-p ]... [-o ]
get-permissions [-p ]... [-o ]
list [-p ]... [-o ]
unapprove [-p ]...
serviceaccountkeys
delete [-p ]...
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
storelayoutclusters
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
storelayoutpages
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
users
delete [-p