Deleting A single unused product
Deletes all unused products, and any stemcells and releases used only by it.
When product_name and version are specified, the request targets one unused product version.
The requested version takes precedence over a fuzzy version match. If that version is in use, no product is deleted.
If the requested version is absent, deletion uses BuildVersion matching only when exactly one unused product matches.
For example, 1.0.0 can delete unused 1.0.0-build.1 when 1.0.0 is absent and no other unused version matches.
If no unused version matches or multiple unused versions match, the request returns 404.
product_name
version
OK
Setup is not completed
{
"errors": {
"errors": [
"string"
]
}
}
errors
Unauthorized
{
"errors": {
"errors": [
"string"
]
}
}
errors
Forbidden
{
"errors": {
"errors": [
"string"
]
}
}
errors
Not Found
Unprocessable Content
{
"errors": [
"string"
]
}
errors
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/v0/available_products