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 count |
Return the total user count |
person detail <id> |
Show detail for a specific user |
person create --body <json> |
Create a new user |
person update <id> --body <json> |
Replace a user record (PUT) |
person patch <id> --body <json> |
Partially update a user record (PATCH) |
person delete <id> |
Delete a user |
person update-password --body <json> |
Update the current user’s password |
person password-reset-request --body <json> |
Send a password reset email |
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
# Total user countayx one person count
# The authenticated callerayx one person current
# Specific userayx one person detail <id>
# Machine-readableayx --output 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”# Previewayx one person update-password --body '{"currentPassword":"...","newPassword":"..."}'
# Commitayx one person update-password \ --body '{"currentPassword":"...","newPassword":"..."}' \ --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.
Automation patterns
Section titled “Automation patterns”# Export all users as JSON for auditingayx --output json one person list --all | jq '.data'
# Get a user's ID by emailayx --output json one person list --all \ | jq -r '.data[] | select(.email == "<email>") | .id'
# Bulk delete: pipe IDs into xargs (dry-run first)ayx --output 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