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

# Add a Null Route for an IP Address

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/network/null-route": {
      "post": {
        "operationId": "post_null_routes_resource",
        "parameters": [
          {
            "description": "An optional fields mask",
            "in": "header",
            "name": "X-Fields",
            "schema": {
              "type": "string",
              "format": "mask"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NullRouteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NetworkTask-dump"
                }
              }
            }
          },
          "403": {
            "description": "You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission."
          }
        },
        "summary": "Add a Null Route for an IP Address",
        "tags": [
          "Network"
        ]
      }
    }
  },
  "info": {
    "description": "Interact with Hivelocity",
    "title": "Hivelocity API",
    "version": "2.0"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "Endpoints to perform network related tasks",
      "name": "Network"
    }
  ],
  "servers": [
    {
      "url": "https://core.hivelocity.net/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      }
    },
    "schemas": {
      "NetworkTask-dump": {
        "properties": {
          "clientId": {
            "description": "Unique ID of the client triggering the task.",
            "type": "integer"
          },
          "deviceId": {
            "description": "Unique ID of the target device.",
            "type": "integer"
          },
          "metaData": {
            "description": "Key value arguments used to trigger the task.",
            "type": "string"
          },
          "result": {
            "description": "Success|Pending|Failed. Null value also means Pending.",
            "type": "string"
          },
          "taskCreated": {
            "description": "Timestamp of task creation date.",
            "type": "object"
          },
          "taskId": {
            "description": "Unique ID of the network task.",
            "type": "string"
          },
          "taskUpdated": {
            "description": "Timestamp of most recent activity taken on the network task. This will update multiple times for multi-step tasks.",
            "type": "object"
          }
        },
        "type": "object"
      },
      "NullRouteRequest": {
        "properties": {
          "comment": {
            "description": "User comments about reason for null routing",
            "type": "string"
          },
          "ip": {
            "description": "Public IPv4 Address",
            "type": "string"
          }
        },
        "required": [
          "ip"
        ],
        "type": "object"
      }
    }
  }
}
```