Volumes
post/v1/volumes

Request

  • Base URL: https://api.verda.com
  • URL: https://api.verda.com/v1/volumes
  • Auth: HTTP bearer

Request body

type'HDD' | 'NVMe' | 'HDD_Shared' | 'NVMe_Shared' | 'NVMe_Local_Storage' | 'NVMe_Shared_Cluster' | 'NVMe_OS_Cluster' required

Volume type

location_codestring required

Location code

sizenumber required

Volume size in GB

instance_idstring

Instance ID to attach the volume to

instance_idsstring[]

Array of instance IDs to attach the volume to

namestring required

Volume name

Example request

{
  "type": "NVMe",
  "location_code": "FIN-01",
  "size": 50,
  "instance_id": "dd3fa015-c7ea-4e32-b4c8-2af16e73cdea",
  "instance_ids": [
    "d7441356-ff87-40cb-8c86-d4f71d59585e",
    "3f2e16bf-b22c-4ca5-84f6-619e5d96b868"
  ],
  "name": "my-volume",
  "tags": [
    {
      "key": "environment",
      "value": "production"
    }
  ]
}

Response

Volume ID

Changes

    • warning

      deleted the header request parameter cf-connecting-ip

    • warning

      deleted the header request parameter user-agent

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable