Hello, I need to bulk suspend accounts by packages. How please?
A azednetma Active Member Oct 27, 2015 42 3 58 Marrakech cPanel Access Level Root Administrator Jun 26, 2020 #1 Hello, I need to bulk suspend accounts by packages. How please?
cPanelLauren Product Owner II Staff member Nov 14, 2017 13,266 1,301 363 Houston Jun 26, 2020 #2 You'd need to write a custom script to do this. This isn't something we do natively. I'd suggest working with a qualified system administrator to perform this. You can use the API function here to suspend: WHM API 1 Functions - suspendacct - Developer Documentation - cPanel Documentation You can use the one here to get what accounts are on a package: WHM API 1 Functions - listaccts - Developer Documentation - cPanel Documentation
You'd need to write a custom script to do this. This isn't something we do natively. I'd suggest working with a qualified system administrator to perform this. You can use the API function here to suspend: WHM API 1 Functions - suspendacct - Developer Documentation - cPanel Documentation You can use the one here to get what accounts are on a package: WHM API 1 Functions - listaccts - Developer Documentation - cPanel Documentation