---
title: "Delete a storage volume"
method: DELETE
path: "/api/projects/{projectName}/volume/{volumeName}"
tags: ["volume"]
---

# Delete a storage volume

`DELETE /api/projects/{projectName}/volume/{volumeName}`

## Request

- Base URL: `https://api.hostim.dev`
- URL: `https://api.hostim.dev/api/projects/{projectName}/volume/{volumeName}`
- Auth: HTTP bearer

Delete a storage volume

## Path parameters

- `projectName` string, required
- `volumeName` string, required

## Response `200`

Volume volume deleted

- GenericMessage
  - `error` string, required
  - `message` string, required

## Other responses

- `401`: User is not authorized
- `404`: Volume not found
- `500`: Internal server error

---

[API](https://skmtc.dev/hostim/apis/hostim-api.md) · [All operations](https://skmtc.dev/hostim/apis/hostim-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostim/apis/hostim-api/revisions/37c35e1026a9?raw)
