The admin1-directory
command-line interface (CLI) allows to use most features of the Google directory 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 directory API can be found at the
official documentation site.
Downloads
You can download the pre-compiled 64bit binaries for the following platforms:
Find the source code on github.
Usage
This documentation was generated from the directory API at revision 20160824. The CLI is at version 1.0.0.
```bash
admin1-directory [options]
asps
delete [-p ]...
get [-p ]... [-o ]
list [-p ]... [-o ]
channels
stop (-r )... [-p ]...
chromeosdevices
get [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
customers
get [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
domain-aliases
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
domains
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
groups
aliases-delete [-p ]...
aliases-insert (-r )... [-p ]... [-o ]
aliases-list [-p ]... [-o ]
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
members
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
mobiledevices
action (-r )... [-p ]...
delete [-p ]...
get [-p ]... [-o ]
list [-p ]... [-o ]
notifications
delete [-p ]...
get [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
orgunits
delete ... [-p ]...
get ... [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch ... (-r )... [-p ]... [-o ]
update ... (-r )... [-p ]... [-o ]
privileges
list [-p ]... [-o ]
resources
calendars-delete [-p ]...
calendars-get [-p ]... [-o ]
calendars-insert (-r )... [-p ]... [-o ]
calendars-list [-p ]... [-o ]
calendars-patch (-r )... [-p ]... [-o ]
calendars-update (-r )... [-p ]... [-o ]
role-assignments
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
roles
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
schemas
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o