This script will accept all pending invites for a user. This tool can be run with your personal access token or a service account. You can find your token in the general account settings.
Python version 3.10.0
run the following to see options:
python3 index.py --help
export SNYK_TOKEN=TYPE-SNYK-TOKEN-HERE
pip install -r requirements.txt
python3 index.py SNYK_GROUP_ID