The limits node is presented by domainLimits type (
plesk_domain.xsd), and its graphical representation is as follows:
- The overuse node is optional. It specifies the limits overusage policy for a specified subscription. Data type: string. Allowed values:
block | notify | normal | not_suspend | not_suspend_notify.
- The limit node is optional. It specifies limit parameters. Data type: PleskLimitType (
- The name node is required. It specifies limit name. Data type: sting.
- The value node is required. It specifies limit value. Data type: any.
Note: You can specify multiple limit parameters within one limits node.
The following code example specifies the limits overusage policy and the mailbox quota limit:
<limits> <overuse>block</overuse> <limit> <name>mbox_quota</name> <value>100</value> </limit> </limits>
Note: To manage limits, you should first retrieve limits descriptor, containing names of limits. For details, refer to the Retrieving Descriptor of Limits section.
Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.
Leave your feedback on this topic here
If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.