role_team_assignments#
usage: awx role_team_assignments [-h] action ...
positional arguments:
action
create
list
get
delete
optional arguments:
-h, --help show this help message and exit
awx role_team_assignments: the following arguments are required: action
role_team_assignments create#
usage: awx role_team_assignments create [-h] [--object_id TEXT]
[--object_ansible_id TEXT]
--role_definition ID [--team ID]
[--team_ansible_id TEXT]
required arguments:
--role_definition ID The role definition which defines permissions conveyed
by this assignment
optional arguments:
-h, --help show this help message and exit
--object_id TEXT Primary key of the object this assignment applies to,
null value indicates system-wide assignment
--object_ansible_id TEXT
Resource id of the object this role applies to.
Alternative to the object_id field.
--team ID the ID of the associated team
--team_ansible_id TEXT
Resource id of the team who will receive permissions
from this assignment. Alternative to team field.
awx role_team_assignments create: the following arguments are required: --role_definition
role_team_assignments list#
usage: awx role_team_assignments list [-h] [--all] [--order_by ORDER_BY]
[-f {json,yaml,jq,human}]
[--filter TEXT] [--conf.color BOOLEAN]
[-v] [--created CREATED]
[--created_by ID]
[--content_type {awx.credential,awx.executionenvironment,awx.instancegroup,awx.inventory,awx.jobtemplate,awx.notificationtemplate,awx.project,awx.workflowjobtemplate,shared.organization,shared.team}]
[--object_id TEXT]
[--role_definition ID] [--team ID]
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
(,)
--created CREATED only list role_team_assignments with the specified
created
--created_by ID only list role_team_assignments with the specified
created_by
--content_type {awx.credential,awx.executionenvironment,awx.instancegroup,awx.inventory,awx.jobtemplate,awx.notificationtemplate,awx.project,awx.workflowjobtemplate,shared.organization,shared.team}
only list role_team_assignments with the specified
content_type
--object_id TEXT only list role_team_assignments with the specified
object_id
--role_definition ID only list role_team_assignments with the specified
role_definition
--team ID only list role_team_assignments with the specified
team
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
role_team_assignments get#
usage: awx role_team_assignments 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 role_team_assignments get: the following arguments are required: id
role_team_assignments delete#
usage: awx role_team_assignments 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 role_team_assignments delete: the following arguments are required: id