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
23 ## Generate an invite link
25 $PREFIX invite [<options>]
29 - `--expires-at DATE` - last day on which token is active (e.g. "2019-04-05")
30 - `--max-use NUMBER` - maximum numbers of token uses
32 ## List generated invites
39 $PREFIX revoke_invite <token_or_id>
47 ## Delete user's posts and interactions
49 $PREFIX delete_activities <nickname>
52 ## Sign user out from all applications (delete user's OAuth tokens and authorizations)
54 $PREFIX sign_out <nickname>
57 ## Deactivate or activate a user
59 $PREFIX toggle_activated <nickname>
62 ## Unsubscribe local users from a user and deactivate the user
64 $PREFIX unsubscribe NICKNAME
67 ## Unsubscribe local users from an instance and deactivate all accounts on it
69 $PREFIX unsubscribe_all_from_instance <instance>
72 ## Create a password reset link for user
74 $PREFIX reset_password <nickname>
77 ## Set the value of the given user's settings
79 $PREFIX set <nickname> [<options>]
82 - `--locked`/`--no-locked` - whether the user should be locked
83 - `--moderator`/`--no-moderator` - whether the user should be a moderator
84 - `--admin`/`--no-admin` - whether the user should be an admin
88 $PREFIX tag <nickname> <tags>
91 ## Delete tags from a user
93 $PREFIX untag <nickname> <tags>
96 ## Toggle confirmation status of the user
98 $PREFIX toggle_confirmed <nickname>