Updating IP Address Properties
Use the set operation to change IP address type, and/or assign an SSL certificate to it.
Note: You cannot change type of IP address from shared to exclusive if it is assigned to two or more resellers/customers.
Request Packet Structure
A request XML packet changing the IP address type includes the set operation node:
The set node graphical representation is as follows:
Specifies the filtering rule. Data type: ipFilterType (
Specifies the IP address to be updated. Data type: ip_address (
- Either type or certificate_name or public_ip_address element is required.
Specifies the type of IP address. Data type: ipType (
plesk_common.xsd). Allowed values: shared | exclusive.
Specifies the name of certificate to be assigned to the IP address. Data type: string.
public_ip_address, required. For Plesk servers behind NAT you can match private IP addresses to corresponding public ones. This node specifies the public IP address corresponding to the IP address that you are editing. Data type: ip_address (
- type, optional
service-node, optional. It specifies the service node. Data type: serviceNodeSpecType (
Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.
Response Packet Structure
The set node of the output XML packet is structured as follows:
Wraps the response retrieved from the server.
Specifies the execution status of the operation. Data type: string. Allowed values: ok | error.
errcode, required if the operation fails
Returns the error code. Data type: unsignedInt.
errtext, required if the operation fails
Returns the error message . Data type: string.
Returns the IP address which was updated. Data type: ip_address (
Assigning a public IP address to an internal IP address
This packet assigns a public IP address to 192.168.0.1.
Changing type of a single IP address
This packet changes the type of 18.104.22.168 IP address to exclusive.
Changing type of multiple IP addresses
This packet changes the type of IP addresses 22.214.171.124 and 126.96.36.199 to exclusive.
Assigning a certificate to an IP address
This packet assigns SSL certificate named Common to IP address 188.8.131.52.