Create a public IPv4 network for a dedicated server
/v1/hosts/dedicated_servers/{server_id}/networks/public_ipv4A POST request sent to the /v1/hosts/dedicated_servers/{server_id}/networks/public_ipv4 endpoint will initiate creation of a public IPv4 network for the selected server. Specify a host ID in the path parameter. The subnet mask is a required parameter to be mentioned in the request body. To order an alias IP, use the route method with a /32 mask.
Authorization
bearerAuth In: header
Path Parameters
A unique identifier of a server.
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/hosts/dedicated_servers/l9avZgaG/networks/public_ipv4" \ -H "Content-Type: application/json" \ -d '{ "distribution_method": "gateway", "mask": 29 }'{ "id": "WPe9OYbL", "title": "Alias", "status": "new", "cidr": null, "family": "ipv4", "interface_type": "public", "distribution_method": "route", "additional": true, "updated_at": "2026-05-28T06:57:50Z", "created_at": "2026-05-28T06:57:50Z"}{ "message": "Networks limit exceeded", "code": "NETWORKS_LIMIT_EXCEEDED"}