Is there any way to only update one setting? instead of running through the entire process?
morissette Well-Known Member May 24, 2009 119 2 66 Austin, TX cPanel Access Level Root Administrator May 5, 2014 #1 Is there any way to only update one setting? instead of running through the entire process?
vanessa Well-Known Member PartnerNOC Sep 26, 2006 840 30 178 Virginia Beach, VA cPanel Access Level DataCenter Provider May 5, 2014 #2 Hey Matt, You can use the API: set_tweaksetting Ex: Code: curl -k -H "Authorization: WHM root:$(tr -d '\n' < /root/.accesshash)" "https://localhost:2087/json-api/set_tweaksetting?api.version=1&thing_to_set&value=1"
Hey Matt, You can use the API: set_tweaksetting Ex: Code: curl -k -H "Authorization: WHM root:$(tr -d '\n' < /root/.accesshash)" "https://localhost:2087/json-api/set_tweaksetting?api.version=1&thing_to_set&value=1"
morissette Well-Known Member May 24, 2009 119 2 66 Austin, TX cPanel Access Level Root Administrator May 5, 2014 #3 You are my hero. I looked at the API docs for like 40 minutes looking for something.
cPanelMichael Administrator Staff member Apr 11, 2011 47,880 2,261 463 May 6, 2014 #4 I am happy to see the solution was helpful. Thank you for updating us with the outcome.