POST
/
volumes
/
create
curl --request POST \
  --url https://api.shadeform.ai/v1/volumes/create \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "cloud": "hyperstack",
  "region": "canada-1",
  "size_in_gb": 100,
  "name": "My storage volume"
}'
{
  "id": "78a0dd5a-dbb1-4568-b55c-5e7e0a8b0c40"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Response

200 - application/json
Returns a CreateVolumeResponse object

The response is of type object.