> AI agents: this is one page from Mammoth Analytics documentation. The index of all pages as Markdown is https://docs.mammoth.io/llms.txt. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get Markdown.

# mammoth user

> All 7 mammoth user commands, each with its blast radius, confirmation policy and backing Python SDK method.

> GENERATED from `mammoth schema list` and `mammoth capability list` (mammoth-cli 2.2.96, released 2026-10-22)—do not edit; run `npm run docs:capabilities`.

7 commands.

"Off a terminal" is what a command's confirmation policy requires when nothing can answer a prompt, as in an agent or CI run: `--yes`, plus `--confirm` with the exact target for `confirm_target` commands. `TARGET` stands for the id or name the command acts on; the CLI's `confirmation_required` error names it.

The SDK symbol and API operation come from `mammoth capability list`. A command that list does not map to one shows — in both columns; `mammoth schema get <command.id>` describes any command in full.

| Command | Scope | Blast radius | Confirmation | Off a terminal | Wait | Pagination | SDK symbol | API operation |
|---|---|---|---|---|---|---|---|---|
| `mammoth user avatar delete` | `workspace` | Destructive | `prompt_or_yes` | `--yes` | `not_async` | `none` | `mammoth.api.users.UsersAPI.avatar_delete` | `DELETE /self/avatar` (DeleteAvatar) |
| `mammoth user delete-account` | `workspace` | High impact | `confirm_target` | `--yes --confirm TARGET` | `not_async` | `none` | `mammoth.api.users.UsersAPI.delete_account` | `DELETE /self` (DeleteSelf) |
| `mammoth user avatar upload` | `workspace` | Benign mutation | `none` | — | `always_wait` | `none` | `mammoth.api.users.UsersAPI.avatar_upload` | `POST /self/avatar` (UploadProfilePic) |
| `mammoth user preference update` | `workspace` | Benign mutation | `none` | — | `not_async` | `none` | `mammoth.api.user_profile.UserProfileAPI.update_preferences` | `PATCH /preferences` (UpdateUserPreferences) |
| `mammoth user update` | `workspace` | Benign mutation | `none` | — | `not_async` | `none` | `mammoth.api.user_profile.UserProfileAPI.update` | `PATCH /self` (UpdateUser) |
| `mammoth user get` | `workspace` | Read | `none` | — | `not_async` | `none` | `mammoth.api.user_profile.UserProfileAPI.get` | `GET /self` (GetUserDetails) |
| `mammoth user preference get` | `workspace` | Read | `none` | — | `not_async` | `none` | `mammoth.api.user_profile.UserProfileAPI.get_preferences` | `GET /preferences` (GetUserPreferences) |

---
Source: https://docs.mammoth.io/build/cli/user.md · Updated: 2026-10-22