Skip to main content

List Volumes belonging to a Project

GET /v2/projects/{projectId}/volumes/
v2
GET
container-list-volumes

Request

  • projectIdstring (uuid)
    required

    ID of the Project to list Volumes for.

Responses

application/json

OK

  • Array[
  • *object
    • idstring (uuid)
      required
    • namestring
      required
    • orphanedboolean
      required

      Whether the Volume is attached to a Stack.

    • stackIdstring (uuid)
      required
  • ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects/f0f86186-0a5a-45b2-aa33-502777496347/volumes?stackId=f0f86186-0a5a-45b2-aa33-502777496347