ReferenceCLI
user
engine-dmo user: Staff users and groups. Every subcommand, argument and flag.
Staff users and groups.
| Command | What it does |
|---|---|
engine-dmo user create | Add a local staff user and print a single-use enrolment link |
engine-dmo user grant-explain | Why a user may or may not do something, with the working |
engine-dmo user list | List users, optionally in one group |
engine-dmo user reset-mfa | Clear a user’s second factor, revoke sessions, and print a new enrolment link |
engine-dmo user suspend | Suspend a user and revoke every session |
engine-dmo user create
Add a local staff user and print a single-use enrolment link.
engine-dmo user create [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--email | string | email address (required) | |
--group | strings | group key, repeatable; the first user defaults to administrators | |
--name | string | display name |
--json prints the text output in the JSON envelope. Runs in a project.
engine-dmo user grant-explain
Why a user may or may not do something, with the working.
engine-dmo user grant-explain [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--action | string | the permission, e.g. content.publish | |
--email | string | the user | |
--locale | string | locale, or which locale of the document | |
--owner | string | hypothetical owner user id | |
--resource | string | type:<document id>; reads site, type, locale, state, owner and tags from the row | |
--site | string | hypothetical site | |
--state | string | hypothetical state | |
--tag | string | hypothetical tags, comma separated | |
--type | string | hypothetical type |
--json prints the text output in the JSON envelope. Runs in a project.
engine-dmo user list
List users, optionally in one group.
engine-dmo user list [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--group | string | only this group |
--json prints the command’s own JSON document. Runs in a project.
engine-dmo user reset-mfa
Clear a user’s second factor, revoke sessions, and print a new enrolment link.
engine-dmo user reset-mfa [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--confirm | bool | confirm the reset | |
--email | string | email address (required) |
--json prints the text output in the JSON envelope. Runs in a project.
engine-dmo user suspend
Suspend a user and revoke every session.
engine-dmo user suspend [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--email | string | email address (required) |
--json prints the text output in the JSON envelope. Runs in a project.