You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

482 B


GDPR 100% compilant matrix synapse user data deletion script in Python 3.


  1. Clone the repo wherever you want and execute the scripts from the project root path
  2. Install psycopg2 either using pip or by package name python3-psycopg2
  3. Configure postgres.conf to your own needs (see file)

The main script to delete a user is python3 (see --help)

ALWAYS make a backup of your database before deleting data!!