Deleting A single unused product

Deleting A single unused product
Deleting a single unused product

Deletes all unused products, and any stemcells and releases used only by it.

When product_name and version is specified, only that product version will be deleted.

Request
URI
DELETE
https://{opsmanager-installation}/api/v0/available_products
COPY
Query Parameters
string
product_name
Optional

product_name

string
version
Optional

version


Responses
200

OK

Returns EmptyResponse of type(s) application/json
Operation doesn't return any data structure

400

Setup is not completed

Returns RequireSetupCompleted of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}

401

Unauthorized

Returns UnauthorizedResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}

403

Forbidden

Returns ForbiddenResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}

404

Not Found

Returns EmptyErrorResponseVariant of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/v0/available_products