This repository contains a Bash script for managing users on a Matrix Synapse server. The script uses Synapse Admin API and provides functionality to perform common administrative tasks such as creating users, deleting users, changing passwords, and more.
- Authenticate users
- Create new users (with optional admin privileges)
- List all users on the server
- Delete users
- Check username availability
- Change user passwords
- Deactivate or reactivate users
- Retrieve user information
- Bash shell
curlinstalled on your system- Matrix Synapse server running and accessible
- Admin
ACCESS_TOKENfor the Synapse server
sudo apt install jq # For Debian/Ubuntu
sudo yum install jq # For CentOS/Fedora/RHEL