بنقرة واحدة
umbraco-user
Backoffice user management (accounts, state, groups, API credentials)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Backoffice user management (accounts, state, groups, API credentials)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use csv-update to batch-modify a property across multiple documents.
Search for a data type, inspect it, and update its configuration.
Walk the content tree to find a document, update a property, and publish.
Search for documents matching a query and publish them.
Call an authenticated raw Umbraco Management API endpoint
Persistent authentication helpers
| name | umbraco-user |
| description | Backoffice user management (accounts, state, groups, API credentials) |
| metadata | {"version":"0.4.8","requires":{"bins":["umbraco"],"skills":["umbraco-shared"]}} |
PREREQUISITE: Read
../umbraco-shared/SKILL.mdfor auth, global flags, and security rules.
umbraco user <command> [flags]
| Command | Description |
|---|---|
user client-credentials list <user-id> | List the client IDs registered for an API user |
user current | Get the user the CLI is authenticated as |
user get <id> | Get a backoffice user by ID |
user list | List backoffice users (paginated; --skip/--take/--all, --filter for substring search) |
user permissions --ids <id,...> | Check the current user's permissions on specific items |
umbraco user client-credentials list <user-id>
umbraco user current
| Flag | Type | Default | Description |
|---|---|---|---|
--fields | string | — | Limit response fields (comma-separated top-level keys) |
umbraco user get <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--fields | string | — | Limit response fields (comma-separated top-level keys) |
umbraco user list
| Flag | Type | Default | Description |
|---|---|---|---|
--all | bool | false | Walk every page until exhausted (auto-paginates with --take as the page size, default 500; combine with --skip to start partway through). Bounded by an internal 100k-item ceiling. |
--fields | string | — | Limit response fields (comma-separated top-level keys) |
--filter | string | — | Substring filter against user name/email |
--first-n | int | 0 | Return only the first N items from item collections |
--ids-only | bool | false | Return only item IDs for item collections |
--params | string | — | Query parameters as JSON |
--skip | int | -1 | Skip count (passes through as ?skip=N; lets you walk past the server page size on large children/root collections) |
--summarize | bool | false | Return only id/name/alias fields for item collections |
--take | int | -1 | Take count (passes through as ?take=N; combine with --skip to page) |
umbraco user permissions --ids <id,...>
GET /user/current/permissions[/document|/media]. Lets an agent verify it may write or publish a node before issuing the mutation. --type selects the permission surface: entity (default), document, or media.
| Flag | Type | Default | Description |
|---|---|---|---|
--ids | string | — | Comma-separated entity GUIDs to check (required) |
--type | string | entity | Permission surface: entity, document, or media |
Safety: Always use
--dry-runfirst. Remove the flag only after verifying the dry-run output.
| Command | Description |
|---|---|
user client-credentials create <user-id> | Register a client ID/secret pair on an API user |
user client-credentials delete <user-id> <client-id> | Remove a client ID from an API user (revokes its access) |
user create | Create a backoffice user |
user delete <id> | Permanently delete a backoffice user |
user disable --ids <id,...> | Disable user accounts (they keep existing but cannot log in) |
user enable --ids <id,...> | Enable disabled user accounts |
user invite | Invite a user by email (they choose their own password) |
user set-groups | Replace the group memberships of one or more users |
user unlock --ids <id,...> | Unlock user accounts locked out by failed logins |
user update <id> | Update a backoffice user |
umbraco user client-credentials create <user-id>
POST /user/{id}/client-credentials. The user must be of kind Api ('user create' with "kind":"Api"). Client IDs are conventionally prefixed umbraco-back-office-.
| Flag | Type | Default | Description |
|---|---|---|---|
--client-id | string | — | OAuth client ID (required) |
--client-secret | string | — | OAuth client secret (required) |
--dry-run | bool | false | Print the planned request without executing |
Safe pattern:
# 1. Dry run first
umbraco user client-credentials create <user-id> --dry-run
# 2. Execute
umbraco user client-credentials create <user-id>
umbraco user client-credentials delete <user-id> <client-id>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--force | bool | false | Confirm revoking the credential |
Safe pattern:
# 1. Dry run first
umbraco user client-credentials delete <user-id> <client-id> --dry-run
# 2. Execute
umbraco user client-credentials delete <user-id> <client-id> --force
umbraco user create
POST /user. Required: email, userName, name, userGroupIds ([{"id":""}] from 'user-group list'), kind ("Default" for humans, "Api" for credential-only API users). API-kind users get credentials via 'user client-credentials create'.
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--json | string | — | Create payload as JSON |
--print-template | bool | false | Print an annotated JSON skeleton; substitute placeholders before passing to --json |
Safe pattern:
# 1. Dry run first
umbraco user create --dry-run
# 2. Execute
umbraco user create
umbraco user delete <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--force | bool | false | Confirm permanent deletion |
Safe pattern:
# 1. Dry run first
umbraco user delete <id> --dry-run
# 2. Execute
umbraco user delete <id> --force
umbraco user disable --ids <id,...>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--ids | string | — | Comma-separated user GUIDs (required) |
Safe pattern:
# 1. Dry run first
umbraco user disable --ids <id,...> --dry-run
# 2. Execute
umbraco user disable --ids <id,...>
umbraco user enable --ids <id,...>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--ids | string | — | Comma-separated user GUIDs (required) |
Safe pattern:
# 1. Dry run first
umbraco user enable --ids <id,...> --dry-run
# 2. Execute
umbraco user enable --ids <id,...>
umbraco user invite
POST /user/invite. Same required fields as 'user create' minus kind, plus an optional message included in the invitation email. Requires the server to have SMTP configured.
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--json | string | — | Invite payload as JSON |
Safe pattern:
# 1. Dry run first
umbraco user invite --dry-run
# 2. Execute
umbraco user invite
umbraco user set-groups
POST /user/set-user-groups. Replaces each listed user's groups with exactly the listed group set. Group GUIDs come from 'user-group list'.
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--group-ids | string | — | Comma-separated user-group GUIDs; the users' groups become exactly this set |
--user-ids | string | — | Comma-separated user GUIDs (required) |
Safe pattern:
# 1. Dry run first
umbraco user set-groups --dry-run
# 2. Execute
umbraco user set-groups
umbraco user unlock --ids <id,...>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--ids | string | — | Comma-separated user GUIDs (required) |
Safe pattern:
# 1. Dry run first
umbraco user unlock --ids <id,...> --dry-run
# 2. Execute
umbraco user unlock --ids <id,...>
umbraco user update <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--json | string | — | Full replacement payload as JSON (fields not mentioned are reset by the server) |
--merge-json | string | — | Partial JSON deep-merged into the current resource before update (fields not mentioned are preserved) |
Safe pattern:
# 1. Dry run first
umbraco user update <id> --dry-run
# 2. Execute
umbraco user update <id>
# Browse subcommands
umbraco user --help
# Inspect a specific endpoint schema
umbraco schema user.<method>