Preferences

Preferences for clients created with a client template are specified by the preferences node. This node is presented by the ClientTemplatePreferencesType complex type (plesk_client.xsd). It is structured as follows:

 

Note: The preferences node is supported by API RPC 1.4.2.0 and later.

 

The following request packet creates a client template and sets preferences for it:

<packet version="1.6.0.0">
<client-template>
<add>
   <name>base_template</name>
   <preferences>
      <sbnet-user>true</sbnet_user>
      <shared>false</shared>
   </preferences>
   <owner-id>3</owner-id>
</add>
</client-template>
</packet>