> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rigbox.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a persistent volume

> Delete a persistent volume from this workspace; it must be stopped.

See [persistent volumes](/guides/persistent-volumes) for mounting, capacity, and recovery guidance. Workspace root filesystem snapshots do not include volume contents.

Deleting a volume removes its data. Back up required application data and stop dependent writes before removal.


## OpenAPI

````yaml openapi/deployment-storage-api.json DELETE /api/v1/workspaces/{id}/volumes/{volume_id}
openapi: 3.1.0
info:
  title: Rigbox Deployment and Storage API
  description: >-
    Gateway-owned public API for Rigbox. The gateway composes its local
    lifecycle API with service-owned exported specs.
  contact:
    name: Rigbox
    url: https://rigbox.dev
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.rigbox.dev
    description: Production gateway
security: []
paths:
  /api/v1/workspaces/{id}/volumes/{volume_id}:
    delete:
      tags:
        - Volumes
      summary: Delete a persistent volume from a workspace.
      description: Delete a persistent volume from this workspace; it must be stopped.
      operationId: delete_workspace_volume
      parameters:
        - name: id
          in: path
          description: Workspace ID
          required: true
          schema:
            type: string
        - name: volume_id
          in: path
          description: Volume ID
          required: true
          schema:
            type: string
      responses:
        '204':
          description: Volume deleted
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````