Skip to content

Delete Download

DELETE
/utilities/downloads/{id}
curl --request DELETE \
--url https://sylve.lan:8181/api/utilities/downloads/1 \
--header 'Authorization: <Authorization>'

Delete one download after reference, activity, and managed-path preflight; unexpected cleanup failures return a typed retained-path result

id
required
integer
>= 1

Download ID

Success

Media typeapplication/json
object
data
object
deleted
Array<object>
object
id
integer
name
string
type
string
Allowed values: http torrent path
uuid
string
failed
Array<object>
object
code
string
id
integer
name
string
retainedPaths
Array<string>
type
string
Allowed values: http torrent path
uuid
string
vmReferences
Array<object>
object
storageId
integer
vmId
integer
vmName
string
vmRid
integer
error
string
message
string
status
string
Example
{
"data": {
"deleted": [
{
"type": "http"
}
],
"failed": [
{
"type": "http"
}
]
}
}

Bad Request

Media typeapplication/json
object
data
error
string
message
string
status
string
Examplegenerated
{
"data": "example",
"error": "example",
"message": "example",
"status": "example"
}

Unauthorized

Media typeapplication/json
object
data
error
string
message
string
status
string
Examplegenerated
{
"data": "example",
"error": "example",
"message": "example",
"status": "example"
}

Forbidden

Media typeapplication/json
object
data
error
string
message
string
status
string
Examplegenerated
{
"data": "example",
"error": "example",
"message": "example",
"status": "example"
}

Download not found

Media typeapplication/json
object
data
object
deleted
Array<object>
object
id
integer
name
string
type
string
Allowed values: http torrent path
uuid
string
failed
Array<object>
object
code
string
id
integer
name
string
retainedPaths
Array<string>
type
string
Allowed values: http torrent path
uuid
string
vmReferences
Array<object>
object
storageId
integer
vmId
integer
vmName
string
vmRid
integer
error
string
message
string
status
string
Example
{
"data": {
"deleted": [
{
"type": "http"
}
],
"failed": [
{
"type": "http"
}
]
}
}

Download active, referenced, or unsafe to clean

Media typeapplication/json
object
data
object
deleted
Array<object>
object
id
integer
name
string
type
string
Allowed values: http torrent path
uuid
string
failed
Array<object>
object
code
string
id
integer
name
string
retainedPaths
Array<string>
type
string
Allowed values: http torrent path
uuid
string
vmReferences
Array<object>
object
storageId
integer
vmId
integer
vmName
string
vmRid
integer
error
string
message
string
status
string
Example
{
"data": {
"deleted": [
{
"type": "http"
}
],
"failed": [
{
"type": "http"
}
]
}
}

Cleanup or persistence failure

Media typeapplication/json
object
data
object
deleted
Array<object>
object
id
integer
name
string
type
string
Allowed values: http torrent path
uuid
string
failed
Array<object>
object
code
string
id
integer
name
string
retainedPaths
Array<string>
type
string
Allowed values: http torrent path
uuid
string
vmReferences
Array<object>
object
storageId
integer
vmId
integer
vmName
string
vmRid
integer
error
string
message
string
status
string
Example
{
"data": {
"deleted": [
{
"type": "http"
}
],
"failed": [
{
"type": "http"
}
]
}
}