Skip to main content

Delete a Volume belonging to a Stack

DELETE /v2/stacks/{stackId}/volumes/{volumeId}/
v2
DELETE
container-delete-volume

Request

  • stackIdstring (uuid)
    required

    ID of the Stack the Volume belongs too. ID of the default Stack equals the ID of the Project.

  • volumeIdstring (uuid)
    required

    ID of the Volume to be deleted.

Responses

No response content specified.

Usage examples

$ curl \
--fail \
--location \
-X DELETE \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/stacks/f0f86186-0a5a-45b2-aa33-502777496347/volumes/f0f86186-0a5a-45b2-aa33-502777496347