cURL
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" }
Create a new storage volume
Returns a CreateVolumeResponse object
The response is of type object.
object