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

# Input a billing info id and script to process and finish a deployment

This method is used to add the billing info ID for payment and the Cloud-Init script or a post-install script (Bash for Linux or Powershell for Windows) to the specified deployment ID and wrap up the deployment process.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/deploy/{deploymentId}": {
      "parameters": [
        {
          "description": "Id of the deployment to interact with",
          "in": "path",
          "name": "deploymentId",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "post": {
        "operationId": "post_deployment_id_resource",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeploymentStart"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Deployment Started"
          },
          "401": {
            "description": "Access to Deployment 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": "Deployment Not Found"
          }
        },
        "summary": "Input a billing info id and script to process and finish a deployment",
        "tags": [
          "Deployment"
        ]
      }
    }
  },
  "info": {
    "description": "Interact with Hivelocity",
    "title": "Hivelocity API",
    "version": "2.0"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "Endpoints to handle your servers provisioning",
      "name": "Deployment"
    }
  ],
  "servers": [
    {
      "url": "https://core.hivelocity.net/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      }
    },
    "schemas": {
      "DeploymentStart": {
        "properties": {
          "billingInfo": {
            "type": "integer"
          },
          "forceIpxeDownload": {
            "default": false,
            "type": "boolean"
          },
          "script": {
            "type": "string"
          }
        },
        "required": [
          "billingInfo"
        ],
        "type": "object"
      }
    }
  }
}
```