Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Include Bitbucket Server for Confluence: File content cannot be shown

Unauthenticated access to this resource is not allowed. Please login to Confluence first.

 

Usage:

Usage: remove_recipients.py [options]

Options:
  -h, --help                         show this help message and exit
  -c FILE, --config=FILE             load settings from FILE
  -s SOCKET, --server-socket=SOCKET  connect to server SOCKET
  -k FILE, --ssl-key=FILE            SSL key file
  -p PASS, --ssl-pass=PASS           SSL key password
  -f NAME, --folder=NAME             run program for specific folder
  -m, --modify                       enable database modification
  --user=USER                        Run script for user
  --list                             List recipients history
  --backup                           Backup recipients history
  --restore                          Restore recipients history
  --restore-file=RESTOREFILE         Restore from an other file then
                                     username.json
  --remove=REMOVE                    Remove recipients
  --remove-all                       Remove complete recipients history
  --dry-run                          Test script

 

List recipients

python remove_recipients.py --user <user>  --list

 

Remove recipient

Remove option is searching in display_name, smtp_address or email_address. 
python remove_recipients.py --user <user>  --remove <recipient name>

Clear history

python remove_recipients.py --user <user>  --remove-all

 

Example

Remove all recipients that have example.com in there display_name, smtp_address or email_address
python remove_recipients.py --user user  --remove example.com

 

 

  • No labels