---
title: "alpacon user update"
description: "Edit a user’s details and review the saved result. See the command syntax, available flags, defaults, and examples before running it in your workspace."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon user update

Edit a user’s details and review the saved result.

## Usage

`alpacon user update USER [flags]`

## Key facts

- The command opens the current user details in your editor.
- Only fields you change are submitted.
- Some fields are read-only or require additional privileges.

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | help for update | `false` |
| `--output` | `string` | Output format: table or json | `table` |

## Examples

Update user information interactively

```bash
alpacon user update john
```

Use `alpacon user role` to change workspace roles. Editing `is_staff` or `is_superuser` here does not change those roles: the command refuses those fields and exits with an error, even if other edits were saved.

Source: https://docs.alpacax.com/reference/cli/user/update/
