List Slice Volumes

Type: GET

https://cloud.syminet.com/api/v1/slices/{SLICE_ID}/volumes

Returns list of volumes currently attached to a slice.

Required URL Parameters:

SLICE_ID

Slice ID to return.

Curl
 curl --request GET \
      --url https://cloud.syminet.com/api/v1/slices/SLICE_ID/volumes \
      --header "authorization:bearer $API_TOKEN"
Response
{
  "data": [
    {
      "status": "active",
      "vol_uuid": "a19feec6-774d-4196-b116-07d00fa877f3",
      "volname": "myvol-1718551275",
      "volsize": 200
    },
    {
      "status": "active",
      "vol_uuid": "aee6fa82-d7b2-445b-80f9-edc0bf7f1f3e",
      "volname": "myvol-1710799020",
      "volsize": 150
    }
  ]
}