---
updatedAt: 2026-05-27T19:42:41.000Z
agentTools:
  projectIndex: https://developers.hivelocity.net/llms.txt
---

# Split assignment

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/ip/{ipAssignmentId}/split": {
      "parameters": [
        {
          "in": "path",
          "name": "ipAssignmentId",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "post": {
        "operationId": "post_ip_assignment_split_resource",
        "parameters": [
          {
            "description": "An optional fields mask",
            "in": "header",
            "name": "X-Fields",
            "schema": {
              "type": "string",
              "format": "mask"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/IPAssignment"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Invalid action"
          },
          "401": {
            "description": "Access to this IP Assignment is not allowed"
          },
          "403": {
            "description": "You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission."
          },
          "404": {
            "description": "IP assignment not found"
          }
        },
        "summary": "Split assignment",
        "tags": [
          "IPAssignment"
        ]
      }
    }
  },
  "info": {
    "description": "Interact with Hivelocity",
    "title": "Hivelocity API",
    "version": "2.0"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "Endpoints to manage IP Assignments",
      "name": "IPAssignment"
    }
  ],
  "servers": [
    {
      "url": "https://core.hivelocity.net/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      }
    },
    "schemas": {
      "IPAssignment": {
        "properties": {
          "assignmentId": {
            "description": "Unique ID of this assignment",
            "type": "integer"
          },
          "broadcastIp": {
            "description": "Broadcast address for this subnet.",
            "type": "string"
          },
          "clientId": {
            "description": "Unique ID of the assignment owner",
            "example": 0,
            "type": "integer"
          },
          "description": {
            "description": "Description for this assignment.",
            "type": "string"
          },
          "deviceId": {
            "description": "The device receiving traffic from the assignment.",
            "type": "integer"
          },
          "dnsResolvers": {
            "description": "DNS resolvers for this subnet. Only applicable to VPS instances.",
            "example": [],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "facilityCode": {
            "description": "Facility code of this assignment.",
            "type": "string"
          },
          "firstUsableIp": {
            "description": "First address available for use by Devices on this subnet.",
            "type": "string"
          },
          "gatewayIp": {
            "description": "Gateway address for this subnet.",
            "type": "string"
          },
          "lastUsableIp": {
            "description": "Last address available for use by Devices on this subnet.",
            "type": "string"
          },
          "netmask": {
            "description": "Netmask for this assignment.",
            "type": "string"
          },
          "nextHopIp": {
            "description": "Next Hop IP address, if this assignment is statically routed.",
            "type": "string"
          },
          "portId": {
            "description": "The port receiving traffic from the assignment.",
            "type": "integer"
          },
          "subnet": {
            "description": "CIDR representation of this assignment.",
            "type": "string"
          },
          "usableIps": {
            "description": "A list of usable IP addresses on assignment. It is only filled for IPv4 subnets.",
            "example": [],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "version": {
            "description": "IP version of this assignment (ipv4 or ipv6)",
            "type": "integer"
          },
          "vlanId": {
            "description": "The VLAN receiving traffic from the assignment.",
            "type": "integer"
          }
        },
        "required": [
          "version"
        ],
        "type": "object"
      }
    }
  }
}
```