Description
Hi, I am using soap apis on node backend to connect with apiscp, sending xml to apiscp via rest, When creating site with admin_add_site, i am facing issue with shield property.
Cannot disable shield via SOAP API when creating/editing a site. Shield remains enabled regardless of the value sent.
Steps to Reproduce
- Send SOAP request to
admin_add_sitewithshield.enabled=0 - After site creation, send SOAP request to
admin_edit_sitewithshield.enabled=0 - Check site in apiscp panel - shield is still enabled
Expected Behavior
Shield should be disabled for the site.
Actual Behavior
Shield remains enabled.
Environment
ApisCP version: 3.2.0-a167cef15 (Latest)
Additional Information
Tested with multiple XML formats:
<value xsi:type="xsd:boolean">false</value><value xsi:type="xsd:boolean">0</value><value xsi:type="xsd:int">0</value>
None of them work. Other .enabled settings (ftp, ssh, ssl, logs, metrics) work correctly. Is shield.enabled supported via admin_edit_site, or is there a different API method to disable shield?