role_user_assignments#

usage: awx role_user_assignments [-h] action ...

positional arguments:
  action
    list
    create
    get
    delete

options:
  -h, --help  show this help message and exit

awx role_user_assignments: the following arguments are required: action

role_user_assignments list#

usage: awx role_user_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] [--user ID]

options:
  -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_user_assignments with the specified created
  --created_by ID       only list role_user_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_user_assignments with the specified content_type
  --object_id TEXT      only list role_user_assignments with the specified object_id
  --role_definition ID  only list role_user_assignments with the specified role_definition
  --user ID             only list role_user_assignments with the specified user

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_user_assignments create#

usage: awx role_user_assignments create [-h] [--object_id TEXT] [--object_ansible_id TEXT] --role_definition ID [--user ID] [--user_ansible_id TEXT]

required arguments:
  --role_definition ID  The role definition which defines permissions conveyed by this assignment

options:
  -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.
  --user ID             the ID of the associated user
  --user_ansible_id TEXT
                        Resource id of the user who will receive permissions from this assignment. Alternative to user field.

awx role_user_assignments create: the following arguments are required: --role_definition

role_user_assignments get#

usage: awx role_user_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

options:
  -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_user_assignments get: the following arguments are required: id

role_user_assignments delete#

usage: awx role_user_assignments delete [-h] id

positional arguments:
  id          the ID (or unique name) of the resource

options:
  -h, --help  show this help message and exit

awx role_user_assignments delete: the following arguments are required: id