Person
ayx one person manages users in Alteryx One. It covers the full lifecycle: listing, creating, updating, deleting, and handling password resets. Mutating commands are dry-run by default; add --apply to commit. Password operations and deletes are sensitive — review dry-run output before adding --apply.
Quick reference
Section titled “Quick reference”| Command | What it does |
|---|---|
person list |
List all users |
person current |
Show the user tied to the active profile |
person detail <id> |
Show detail for a specific user |
| `person create –body <FILE | JSON |
| `person update |
JSON |
| `person patch |
JSON |
person delete <id> |
Delete a user |
| `person update-password –body <FILE | JSON |
| `person password-reset-request –body <FILE | JSON |
Listing and inspecting users
Section titled “Listing and inspecting users”# Paginated listayx one person list
# All users (auto-paginate)ayx one person list --all
# Limit page sizeayx one person list --limit 100
# The authenticated callerayx one person current
# Specific userayx one person detail <id>
# Machine-readableayx -o json one person list --all--profile <name> switches the target environment on commands that support it. Use --max-pages <n> to cap auto-pagination.
Creating a user
Section titled “Creating a user”# Preview the requestayx one person create --body '{"email":"<email>","firstName":"...","lastName":"..."}'
# Commitayx one person create \ --body '{"email":"<email>","firstName":"...","lastName":"..."}' \ --applyPass --profile <name> to create in a specific environment.
Updating a user
Section titled “Updating a user”update replaces the full record (PUT). patch applies partial changes (PATCH).
# Full replace (preview)ayx one person update \ <id> \ --body '{"email":"<email>","firstName":"...","lastName":"..."}'
# Commitayx one person update \ <id> \ --body '{"email":"<email>","firstName":"...","lastName":"..."}' \ --apply
# Partial update (patch a single field)ayx one person patch \ <id> \ --body '{"firstName":"NewName"}' \ --applyDeleting a user
Section titled “Deleting a user”Destructive. Review the dry-run output carefully before adding --apply.
# Previewayx one person delete <id>
# Commitayx one person delete <id> --apply --yes--yes suppresses the TTY confirmation, required in CI or piped scripts.
Password management
Section titled “Password management”Update current user’s password
Section titled “Update current user’s password”# Preview (Bash: keep passwords out of command arguments)cat password-change.json | ayx one person update-password --body -# PowerShell equivalent:# Get-Content -Raw password-change.json | ayx one person update-password --body -
# Commitayx one person update-password \ --body password-change.json \ --applySend a password reset email
Section titled “Send a password reset email”# Previewayx one person password-reset-request --body '{"email":"<email>"}'
# Commitayx one person password-reset-request \ --body '{"email":"<email>"}' \ --applyThis sends the reset email to the user. No --yes is required — it is not considered a destructive operation. For every --body flag, use a file, inline non-secret JSON, or - for piped stdin; inline values are visible in shell history and process listings.
Automation patterns
Section titled “Automation patterns”# Export all users as JSON for auditingayx -o json one person list --all | jq '.data'
# Get a user's ID by emailayx -o json one person list --all \ | jq -r '.data[] | select(.email == "<email>") | .id'
# Bulk delete: pipe IDs into xargs (dry-run first)ayx -o json one person list --all \ | jq -r '.data[] | select(.someField == "value") | .id' \ | xargs -I{} ayx one person delete {}
# Add --apply once the dry-run output looks rightRelated
Section titled “Related”- Identity & auth
- Workspace — workspace membership (invite, remove, suspend)
- Roles — assign roles to users
- Safety model