tokens#
usage: awx tokens [-h] action ...
positional arguments:
action
list
create
get
modify
delete
optional arguments:
-h, --help show this help message and exit
awx tokens: the following arguments are required: action
tokens list#
usage: awx tokens list [-h] [--all] [--order_by ORDER_BY]
[-f {json,yaml,jq,human}] [--filter TEXT]
[--conf.color BOOLEAN] [-v]
[--type {o_auth2_access_token}] [--created CREATED]
[--modified MODIFIED] [--description TEXT] [--user ID]
[--token TEXT] [--application ID] [--expires EXPIRES]
[--scope TEXT]
optional arguments:
-h, --help show this help message and exit
--all fetch all pages of content from the API when returning
results (instead of just the first page)
--order_by ORDER_BY order results by given field name, prefix the field
name with a dash (-) to sort in reverse eg
--order_by='-name',multiple sorting fields may be
specified by separating the field names with a comma
(,)
--type {o_auth2_access_token}
only list tokens with the specified type
--created CREATED only list tokens with the specified created
--modified MODIFIED only list tokens with the specified modified
--description TEXT only list tokens with the specified description
--user ID only list tokens with the specified user
--token TEXT only list tokens with the specified token
--application ID only list tokens with the specified application
--expires EXPIRES only list tokens with the specified expires
--scope TEXT only list tokens with the specified scope
input/output formatting:
-f {json,yaml,jq,human}, --conf.format {json,yaml,jq,human}
specify a format for the input and output
--filter TEXT specify an output filter (only valid with jq or human
format)
--conf.color BOOLEAN Display colorized output. Defaults to True
-v, --verbose print debug-level logs, including requests made
tokens create#
usage: awx tokens create [-h] [--description TEXT] [--application ID]
[--scope TEXT]
optional arguments:
-h, --help show this help message and exit
--description TEXT Optional description of this access token.
--application ID the ID of the associated application
--scope TEXT Allowed scopes, further restricts user's permissions.
Must be a simple space-separated string with allowed
scopes ['read', 'write'].
tokens get#
usage: awx tokens get [-h] [-f {json,yaml,jq,human}] [--filter TEXT]
[--conf.color BOOLEAN] [-v]
id
positional arguments:
id the ID (or unique name) of the resource
optional arguments:
-h, --help show this help message and exit
input/output formatting:
-f {json,yaml,jq,human}, --conf.format {json,yaml,jq,human}
specify a format for the input and output
--filter TEXT specify an output filter (only valid with jq or human
format)
--conf.color BOOLEAN Display colorized output. Defaults to True
-v, --verbose print debug-level logs, including requests made
awx tokens get: the following arguments are required: id
tokens modify#
usage: awx tokens modify [-h] id
positional arguments:
id the ID (or unique name) of the resource
optional arguments:
-h, --help show this help message and exit
awx tokens modify: the following arguments are required: id
tokens delete#
usage: awx tokens delete [-h] id
positional arguments:
id the ID (or unique name) of the resource
optional arguments:
-h, --help show this help message and exit
awx tokens delete: the following arguments are required: id