Remove a specific IP address (IPv4 or IPv6) from a VPS or a domain. It returns an ID needed to track the operation in subsequent calls. Use this when you want to release an IP address that is no longer needed for your service.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example action string · enum required assign_ip change_ip create_private_interface delete_interface get_available_subnets remove_ip update_rdns ipId any ipType string interfaceName string isPrimary integer subnetId string ipAddress string vlan integer ip string rdns string success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string errorCode string actualIP string records array error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/network curl -X POST "https://cloud.hostup.se/api/vm/17691/network" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "assign_ip",
"ipId": null,
"ipType": "string",
"interfaceName": "string",
"isPrimary": 0,
"subnetId": "string",
"ipAddress": "string",
"vlan": 0,
"ip": "string",
"rdns": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"message": "string",
"restartJobId": "string",
"requiresRestart": true,
"ipAddress": "string",
"interface": "string"
}
} {
"action": "assign_ip",
"ipId": null,
"ipType": "string",
"interfaceName": "string",
"isPrimary": 0,
"subnetId": "string",
"ipAddress": "string",
"vlan": 0,
"ip": "string",
"rdns": "string"
}