Domain performance settings are defined by the performance node. This node is specified by complex type DomainPerformanceType (plesk_domain.xsd). This type is structured as follows:

Note: All operations on domain performance settings are supported in API RPC beginning with version 1.4.1.0.
The following sample packet creates a domain account and sets performance settings:
<packet version="1.4.2.0">
<domain>
<add>
<gen_setup>
<name>newdomain.com</name>
<client_id>1234</client_id>
<ip_address>192.0.2.123</ip_address>
</gen_setup>
<performance>
<bandwidth>1000</bandwidth>
<max_connections>20</max_connections>
</performance>
</add>
</domain>
</packet>
To undo the performance settings for this domain, send a packet as follows:
<packet version="1.4.2.0">
<domain>
<set>
<filter>
<domain_name>newdomain.com</domain_name>
</filter>
<values>
<performance>
<bandwidth>-1</bandwidth>
<max_connections>-1</max_connections>
</performance>
</values>
</set>
</domain>
</packet>