How to remove a profession?

how can I remove a profession from the game?
I want to remove some of the irritating professions from the rolls on random charecters

I think you need to go to cdda/data/json and edit the profession file, erasing the professions you dont want

how do you edit the file then

Notepad++ is my go-to to do that. Make sure to make a copy of the file before messing with it. You can reverse engineer the code to make your own professions too