Delete a volume
DELETE/volumes/{name}
Deletes the volume and its data. 409 when it is attached to a live sandbox.
path parameters
object
namestringrequiredVolume name ([a-z0-9][a-z0-9-]*).
Responses
204 No contentNo Content
404 Not foundNot Found
ErrorResponse
errorstring409 ConflictConflict
ErrorResponse
errorstring501 Not Implemented
ErrorResponse
errorstringAuthentication
bearerAuthHTTP bearer. Daemon API key. Omit on a keyless loopback daemon.Request
▍DELETE/volumes/{name}
curl '/volumes/{name}' \
-X DELETEconst response = await fetch("/volumes/{name}", {
method: "DELETE",
});
const data = await response.json();import requests
response = requests.delete(
"/volumes/{name}",
)
data = response.json()Response
204 No content
No response body.