You would need to edit /var/cpanel/cpanel.config file for this line:
xsrftokens=1
Please change the 1 to a 0, then save the file. At that point, run the following command to push the changes:
/usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings