REST Delete Volume

AI Tools

This command will delete a volume with UUID: 055ab16b-8528-46c4-940e-5493ec19f839

To delete a volume, use the DELETE method command for this URL /api/v2/volume/{volume UUID}.

Sample Command

curl -s -X DELETE --insecure -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $LIGHTOS_JWT" https://localhost:443/api/v2/projects/default/volumes/055ab16b-8528-46c4-940e-5493ec19f839 | jq.


On This Page
REST Delete Volume