The add operation of the
webspace operator enables you to create a subscription, set the ICP permit status, and assign an ICP permit ID to the subscription's primary domain.
Request Packet Structure
To create a subscription and set the ICP permit information for the subscription's primary domain, use the add operation of the
webspace operator with the prefs, icp-status, and icp-permit nodes.
For more information about the add node, including its graphical representation and the descriptions and properties of dependent nodes, click here.
Response Packet Structure
The structure of the add node of the response packet is described here.
The following packet creates a subscription with the primary domain named example.com, configures minimal web hosting settings for the domain, grants it the "ICP permit approved" status, and assigns the ICP permit "123456789" to it: