Skip to content

delete testusers

Will Strohl edited this page Dec 10, 2024 · 1 revision

delete-testusers

This command will delete the demo users created by the set-testusers command. If the user account(s) are not found, it just keeps going and ignores the missing user account.

When deleting the test user accounts, it attempts to find the user accounts by username. These usernames are hard-coded in the set-testusers command, as this is not meant to be used in production. So, there is little to no chance to impact an actual end-user. If you're going to use this command in production, you should first test in a staging instance to see if the user names exist or not.

Added In Version

Command

Command Description
delete-testusers Attempts to delete all of the test users created by the set-testusers command.

Arguments

This prompt does not have any flags at this time.

Output

If successful, you should see a message for each test user, stating the result of the creation of the account.

User Deleted:

Successfully deleted test user accounts... We saved some time together. Yay!  :)

Additional Notes

This command has a companion command, set-testusers. The set-testusers command will create the users to be deleted by the delete-testusers command, here.

Screenshots

Users Deleted
upendoventures-prompt-deletetestusers-success