DELETEhttps://api.spotinst.io/ocean/aws/k8s/cluster/{OCEAN_CLUSTER_ID}?accountId={ACCOUNT_ID}
Delete a specified Ocean cluster.
URL Parameters
Parameter | Type | Description |
---|---|---|
OCEAN_CLUSTER_ID * | String | The Ocean cluster to delete. |
ACCOUNT_ID * | String | The Spotinst accountId associated with your token. |
Response - 200
Body
{ "request": { "id": "a608777a-a1c5-4f34-b30b-3f7355e3926b", "url": "/ocean/aws/k8s/cluster/o-12we32df?accountId=act-7461123d", "method": "DELETE", "timestamp": "2019-06-18T07:59:45.892Z" }, "response": { "status": { "code": 200, "message": "OK" }, "kind": "spotinst:ocean:aws:k8s", "items": [], "count": 0 } }