---
title: "add network-disk"
method: POST
path: "/api/v0/network_disk/"
tags: ["Network Volumes"]
---

# add network-disk

`POST /api/v0/network_disk/`

Adds a network disk to be used to create network volume offers, or adds machines to an existing network disk.

CLI Usage: `vastai add network_disk <machine_id>... <mount_point> [options]`

## Request body

- object
  - `machine_id` integer — ID of the machine to add network disk to
  - `machine_ids` integer[] — IDs of machines to add network disk to
  - `mount_point` string, required — Path to mount point of networked storage on machine or machines
  - `disk_id` integer — ID of network disk, if adding machines to existing disk

## Response `200`

Successful response

- object
  - `success` boolean
  - `disk_id` integer — ID of disk created or added to machines

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/versions/4ed14f79f796/schema)
