Deleting all custom VM types

Deleting all custom VM types
Deleting all custom VM types

Removes all custom vm_types that have been created as long as none are in use by a deployed VM.

Request
URI
DELETE
https://{opsmanager-installation}/api/v0/vm_types
COPY
Responses
200

OK

Operation doesn't return any data structure

400

Setup is not completed or Bad Request

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

errors


401

Unauthorized

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

403

Forbidden

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

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