The set operation of the
site-alias operator enables you to update the information about the ICP permit status and the ID of the assigned ICP permit for one or more domain aliases.
Request Packet Structure
A request XML packet changing the site alias settings in the Plesk database includes the set operation node:
<packet> <site-alias> <set>...</set> </site-alias> </packet>
For more information about the set node, including its graphical representation and the descriptions and properties of dependent nodes, click here.
Response Packet Structure
The structure of the set node of the response packet is described here.
The following packet grants the "ICP permit approved" status and assign the ICP permit "123456789" to the domain alias sample.com:
<packet> <site-alias> <set> <filter> <name>sample.com</name> </filter> <settings> <pref> <icp-status>true</icp-status> <icp-permit>123456789</icp-permit> </pref> </settings> </set> </site-alias> </packet>
<packet> <site-alias> <set> <result> <status>ok</status> <filter-id>sample.com</filter-id> <id>1</id> </result> </set> </site-alias> </packet>
Leave your comments on this page
Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.