Skip to main content

Overview

Users are individual accounts in AWX. They can be members of organizations and teams, and can be granted various roles and permissions.

Endpoints

List Users

Create User

string
required
Unique username for the user
string
required
User password (required for new users)
string
User’s first name
string
User’s last name
string
User’s email address
boolean
default:"false"
Grant superuser privileges
boolean
default:"false"
Grant system auditor role (read-only access to everything)

Password Requirements

Passwords are validated based on AWX settings:
  • LOCAL_PASSWORD_MIN_LENGTH - Minimum password length
  • LOCAL_PASSWORD_MIN_DIGITS - Minimum number of digits
  • LOCAL_PASSWORD_MIN_UPPER - Minimum uppercase characters
  • LOCAL_PASSWORD_MIN_SPECIAL - Minimum special characters
Additional Django password validators may apply.

Retrieve User

Response Schema

integer
User ID
string
Username
string
First name
string
Last name
string
Email address
boolean
Whether user has superuser privileges
boolean
Whether user has system auditor role
string
Always returns "encryptedencrypted" for security
string
Last login timestamp (read-only)
string
Account creation timestamp
string
Last modification timestamp
Links to related resources:
  • teams - Teams the user belongs to
  • organizations - Organizations the user is a member of
  • admin_of_organizations - Organizations where user is admin
  • projects - Projects user has access to
  • credentials - User’s credentials
  • roles - Roles assigned to the user
  • activity_stream - User’s activity log
  • access_list - Access list

Update User

Change Password

Users can change their own password. Superusers can change any user’s password.

Delete User

Current User

Get information about the authenticated user:

User Teams

User Organizations

Admin of Organizations

User Projects

User Credentials

User Roles

Activity Stream

Access List

Personal Access Tokens

Create Personal Token

string
required
Token description
string
default:"write"
Token scope: read or write
integer
OAuth application ID (null for personal tokens)

List Personal Tokens

Revoke Personal Token

Filtering

Ordering

User Types

Normal Users

Standard users with permissions based on assigned roles.

Superusers

Users with is_superuser=true have full access to all resources and can:
  • Create/modify/delete any resource
  • Grant any permission
  • Access admin interface

System Auditors

Users with is_system_auditor=true have read-only access to all resources.

Complete Example