https://supertokens.com/ logo
#support-questions
Title
# support-questions
a

ashlite

06/17/2022, 10:55 AM
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

rp

06/17/2022, 11:58 AM
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

ashlite

06/17/2022, 11:59 AM
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

rp

06/17/2022, 12:00 PM
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

ashlite

06/17/2022, 12:02 PM
okay thank you