is there a way to reset user data in Saas, like a ...
# support-questions
a
is there a way to reset user data in Saas, like a restart or some api call? if not, then what data is safe to remove in the PostgresDB to be clean slate?
r
Hey! For dev env, you can access the database directly and truncate all tables.
For prod env, you can call the delete user API fro all the users
a
All table data is safe to delete for refresh state? because I notice there is key_value table that looks like a key settings?
r
yea you can delete all and it will generate a new set of keys. That being said, all old sessions will stop working on refresh
a
okay thank you