Deletes the kubernetes update
Deletes the kubernetes update
Path Parameters
workspace stringrequired
Workspace to use
name stringrequired
The name of the kubernetes update you wish to delete
Query Parameters
dryRun string
Set to 'All' to perform a server-side dry run of deleting this resource
force string
Set to 'true' to override read-only (has no effect unless used by Wayfinder admin)
owner string
Use an explicit owner when deleting - this must match the owner used on create, if set
cascade boolean
If true then all objects owned by this object will be deleted too.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Contains the kubernetes update definition
- application/json
- Schema
- Example (from schema)
Schema
apiVersion string
kind string
metadata
spec
status
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {},
"clusterName": "string",
"creationTimestamp": "string",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "string",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"labels": {},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": "string",
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "string"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"awaitingApproval": true,
"nextSteps": {
"owner": {
"group": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"version": "string"
}
},
"preRequisite": {
"owner": {
"group": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"version": "string"
}
},
"targetKubernetesVersion": "string"
},
"status": {
"cloudResourcesCreated": true,
"conditions": [
{
"detail": "string",
"lastTransitionTime": "string",
"message": "string",
"name": "string",
"negativePolarity": true,
"observedGeneration": 0,
"reason": "string",
"status": "string",
"type": "string"
}
],
"detail": "string",
"estimatedPercentageComplete": 0,
"lastReconcile": {
"generation": 0,
"time": "string"
},
"lastSuccess": {
"generation": 0,
"time": "string"
},
"message": "string",
"obsoleteResources": [
{
"kind": "string",
"name": "string"
}
],
"startTime": "string",
"status": "string",
"wayfinderVersion": "string"
}
}
Validation error of supplied parameters/body
- application/json
- Schema
- Example (from schema)
Schema
code int32
fieldErrors undefined[]
message string
{
"code": 0,
"fieldErrors": [
{
"errCode": "string",
"field": "string",
"message": "string"
}
],
"message": "string"
}
If not authenticated
If authenticated but not authorized
the kubernetes update with the given name doesn't exist
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
code int32
detail string
message string
uri string
verb string
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://<WAYFINDER-API-ENDPOINT>/api/v1alpha1/workspaces/:workspace/kubernetesupdates/:name' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear