---
title: "Create shared storage volume"
method: POST
path: "/storage/"
tags: ["Storage"]
---

# Create shared storage volume

`POST /storage/`

## Request

- Base URL: `https://cloud-api.voltagepark.com/api/v1`
- URL: `https://cloud-api.voltagepark.com/api/v1/storage/`
- Auth: one of:
  - HTTP bearer
  - API key in header `UI-Authorization`
- TypeScript: <https://skmtc.dev/voltagepark/apis/voltage-park-on-demand-api/docs/storage/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- StorageCreate
  - `size_in_gb` integer, required: Number of gigabytes to allocate for the storage volume
  - `name` string, required: Must use lowercase, alphanumeric characters, '-', '_', or '.', and must start and end with alphanumerics. Must be at most 60 characters in length. Duplicate names are not allowed.
  - `order_ids` string[]: Active bare-metal rental IDs to which this storage volume will be attached upon creation.

## Response `201`

Successful Response

- StorageDetails
  - `id` string, uuid, required
  - `size_in_gb` integer, required: Number of gigabytes to allocate for the storage volume
  - `name` string, required
  - `status` 'active' | 'inactive', required
  - `rate_hourly` string, required
  - `order_ids` string[]
  - `tenant_id` integer, nullable, required: VAST tenant ID
  - `vip` string, required: IP address to mount storage volume
  - `remote_path` string: NFS export path to mount on the storage server
  - `nfs_version` string: NFS protocol version to mount the volume with

## Other responses

- `400`: Bad Request
- `422`: Validation Error

---

[API](https://skmtc.dev/voltagepark/apis/voltage-park-on-demand-api.md) - [All operations](https://skmtc.dev/voltagepark/apis/voltage-park-on-demand-api/llms.txt) - [OpenAPI document](https://skmtc.dev/voltagepark/apis/voltage-park-on-demand-api/revisions/11c2e9146826?raw)
