3 Every command should be ran with a prefix, in case of OTP releases it is `./bin/pleroma_ctl user` and in case of source installs it's `mix pleroma.user`.
7 $PREFIX new <nickname> <email> [<options>]
11 - `--name <name>` - the user's display name
12 - `--bio <bio>` - the user's bio
13 - `--password <password>` - the user's password
14 - `--moderator`/`--no-moderator` - whether the user should be a moderator
15 - `--admin`/`--no-admin` - whether the user should be an admin
16 - `-y`, `--assume-yes`/`--no-assume-yes` - whether to assume yes to all questions
18 ## Generate an invite link
20 $PREFIX invite [<options>]
24 - `--expires-at DATE` - last day on which token is active (e.g. "2019-04-05")
25 - `--max-use NUMBER` - maximum numbers of token uses
27 ## List generated invites
34 $PREFIX revoke_invite <token_or_id>
42 ## Delete user's posts and interactions
44 $PREFIX delete_activities <nickname>
47 ## Sign user out from all applications (delete user's OAuth tokens and authorizations)
49 $PREFIX sign_out <nickname>
52 ## Deactivate or activate a user
54 $PREFIX toggle_activated <nickname>
57 ## Unsubscribe local users from a user and deactivate the user
59 $PREFIX unsubscribe NICKNAME
62 ## Unsubscribe local users from an instance and deactivate all accounts on it
64 $PREFIX unsubscribe_all_from_instance <instance>
67 ## Create a password reset link for user
69 $PREFIX reset_password <nickname>
72 ## Set the value of the given user's settings
74 $PREFIX set <nickname> [<options>]
77 - `--locked`/`--no-locked` - whether the user should be locked
78 - `--moderator`/`--no-moderator` - whether the user should be a moderator
79 - `--admin`/`--no-admin` - whether the user should be an admin
83 $PREFIX tag <nickname> <tags>
86 ## Delete tags from a user
88 $PREFIX untag <nickname> <tags>
91 ## Toggle confirmation status of the user
93 $PREFIX toggle_confirmed <nickname>