{"id":16,"date":"2015-10-24T19:07:53","date_gmt":"2015-10-24T18:07:53","guid":{"rendered":"http:\/\/www.aaronhatton.co.uk\/blog\/?p=16"},"modified":"2015-10-24T20:09:23","modified_gmt":"2015-10-24T19:09:23","slug":"whmcpanel-csv-account-termination","status":"publish","type":"post","link":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/2015\/10\/24\/whmcpanel-csv-account-termination\/","title":{"rendered":"WHM\/cPanel CSV Account Termination"},"content":{"rendered":"<p>I was having a clean out of our WHM servers at work and had a list of domains to be removed; using another script (which will be posted after this one) I got the usernames of the accounts and proceeded to create a simple PHP\/cURL script which would delete all of the accounts in a\u00a0specified CSV. I appreciate it may not be the most efficient script but it is practical for what I needed it for. This can be found on my Public GitHub account<\/p>\n<p>https:\/\/github.com\/aaronhatton\/WHM-cPanel-CSV-Account-Termination<\/p>\n\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=aaronjlhatton\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I was having a clean out of our WHM servers at work and had a list of domains to be removed; using another script (which will be posted after this one) I got the usernames of the accounts and proceeded [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,8],"tags":[12,11,13,9,10],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-scripts","category-whmcpanel","tag-api","tag-cpanel","tag-csv","tag-php","tag-whm","dwtl normal"],"_links":{"self":[{"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":7,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":28,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/16\/revisions\/28"}],"wp:attachment":[{"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}