Revoke moderators in bulk

Just go to Admin Settings and find the endpoint to revoke moderation and a python script can be your friend. In case you need the script please let me know I’m not on my pc rn or would have attached the same.