Unbind
Storage

Delete Volume (PVC)

Delete a volume (persistent volume claim) and its data. Fails while the volume is mounted by a service.

DELETE
/storage/pvc/delete

Delete a volume (persistent volume claim) and its data. Fails while the volume is mounted by a service.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token or API key (unb_...) passed as Authorization: Bearer <token>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

environment_id?string
Formatuuid
id*string
project_id?string
Formatuuid
team_id*string
Formatuuid
type*PvcScope

Value in

  • "team"
  • "project"
  • "environment"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/storage/pvc/delete" \  -H "Content-Type: application/json" \  -d '{    "id": "string",    "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",    "type": "team"  }'
{  "data": {    "deleted": true,    "id": "string"  }}