Is it possible to restore a deleted user account?

Someone on our instance wanted to revive an account they deleted.

I infer from the issue linked below that it isn’t? However:

  1. things may have changed since then, and
  2. it seems useful to have an answer here.

Here if you are admin of instance you can do that easily.

tootctl accounts create USERNAME --reattach --force --email=EMAIL

Have Fun :sunglasses:

2 Likes

tootctl doesn’t seem to work… it says the command isn’t found. Is there a way to fix that?

The current way to access it is to give it an environment variable and address it in bin like so:

cd /path/to/mastodon
RAILS_ENV=production bin/tootctl help

Source: Using the admin CLI - Mastodon documentation

1 Like