Bash script which removes consent from Plex giving your data to others.
Can be run as a cron, no need for local files to be written.
More details coming shortly
Credit to https://www.reddit.com/r/PleX/comments/188yb9e/bash_script_to_optout_of_all_of_plexs_datasharing for the inspiration.
I stood on the shoulders of giants to make this.
You need your plex token first to do this: https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
To run as cron, make sure you have mail enabled.