<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; Shell-API</title>
	<atom:link href="http://wiki.centos-webpanel.com/tag/shell-api/feed" rel="self" type="application/rss+xml" />
	<link>http://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>CWP Admin API</title>
		<link>http://wiki.centos-webpanel.com/cwp-admin-api</link>
		<comments>http://wiki.centos-webpanel.com/cwp-admin-api#comments</comments>
		<pubDate>Sat, 31 Aug 2019 22:54:14 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[shell-scripts]]></category>
		<category><![CDATA[Shell-API]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1272</guid>
		<description><![CDATA[Account Remove Account: /scripts/cwp_api account remove_user USERNAME Suspend Account: /scripts/cwp_api account suspend_user USERNAME UnSuspend Account: /scripts/cwp_api account unsuspend_user USERNAME UnSuspend Account Bandwidth (You should increase user/package bandwidth before): /scripts/cwp_api account unsuspend_bandwidth USERNAME Reset Account Bandwidth (It will reset user bandwidth to 0 and UnSuspend Account): /scripts/cwp_api account reset_bandwidth USERNAME Fix Account Permissions /scripts/cwp_api account fix_perms [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Account</strong></p>
<p>Remove Account:</p>
<pre>/scripts/cwp_api account remove_user USERNAME</pre>
<p>Suspend Account:</p>
<pre>/scripts/cwp_api account suspend_user USERNAME</pre>
<p>UnSuspend Account:</p>
<pre>/scripts/cwp_api account unsuspend_user USERNAME</pre>
<p>UnSuspend Account Bandwidth (You should increase user/package bandwidth before):</p>
<pre>/scripts/cwp_api account unsuspend_bandwidth USERNAME</pre>
<p>Reset Account Bandwidth (It will reset user bandwidth to 0 and UnSuspend Account):</p>
<pre>/scripts/cwp_api account reset_bandwidth USERNAME</pre>
<p>Fix Account Permissions</p>
<pre>/scripts/cwp_api account fix_perms USERNAME</pre>
<p>List Account Domains/Subdomains</p>
<pre>/scripts/cwp_api account list_domains USERNAME</pre>
<p>Set quota based on the package for all users</p>
<pre>/scripts/cwp_api account update_diskquota_all</pre>
<p>Update quota, hourly_emails, cgroups, nproc, apache_nproc, inode, nofile limits for all users</p>
<pre>/scripts/cwp_api account update_limits_all</pre>
<p>Set quota for all email accounts based on the uid from the postfix.mailbox table</p>
<pre>/scripts/cwp_api account mail_fix_permissions</pre>
<p>Import hourly mail limits from packages into policyd</p>
<pre>/scripts/cwp_api account update_policyd_all</pre>
<p>Rebuild /etc/named.conf</p>
<pre>/scripts/cwp_api account rebuild_etc_named_conf</pre>
<p>Rebuild All DNS/Domain zone files in /var/named/</p>
<pre>/scripts/cwp_api account rebuild_var_named_all</pre>
<p>Rebuild singe DNS/Domain zone file in /var/named/</p>
<pre>/scripts/cwp_api account rebuild_var_named USERNAME DOMAIN</pre>
<p><strong>WebServers</strong></p>
<p>Rebuild WebServers Configuration for all WebServers and all Domains</p>
<pre>/scripts/cwp_api webservers rebuild_all</pre>
<p>Rebuild WebServers Configuration only for user</p>
<pre>/scripts/cwp_api webservers rebuild_user USERNAME</pre>
<p>Restart WebServers</p>
<pre>/scripts/cwp_api webservers restart</pre>
<p>Reload WebServers</p>
<pre>/scripts/cwp_api webservers reload</pre>
<p><strong>Apps</strong><br />
Softaculous install</p>
<pre>/scripts/cwp_api apps install_softaculous</pre>
<p>Softaculous remove</p>
<pre>/scripts/cwp_api apps remove_softaculous</pre>
<p>Sitepad install</p>
<pre>/scripts/cwp_api apps install_sitepad</pre>
<p>Sitepad remove</p>
<pre>/scripts/cwp_api apps remove_sitepad</pre>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/cwp-admin-api/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
