DELETEhttps://api.spotinst.io/ocean/gcp/k8s/launchSpec/{OCEAN_LAUNCH_SPEC_ID}?accountId={ACCOUNT_ID}

Delete a specified launch specification in an Ocean cluster.

URL Parameters

Parameter Type Description
OCEAN_LAUNCH_SPEC_ID * String

The launch specification to delete.

ACCOUNT_ID * String

The Spot accountId associated with your token.

Example: act-123abc
deleteNodes Boolean

When set to "true", all instances belonging to the deleted launch specification will be drained, detached, and terminated.

Example: true
Default: false
Response - 200

Body
Copied!
Downloaded!
{
    "request": {
        "id": "76a56995-bdd4-490d-a07f-a707ba94ac94",
        "url": "/ocean/gcp/k8s/launchSpec/ols-1a3da686?accountId=act-c68a1234",
        "method": "DELETE",
        "timestamp": "2019-03-07T10:54:44.789Z"
    },
    "response": {
        "status": {
            "code": 200,
            "message": "OK"
        }
    }
}