Skip to content
Proud to collaborate with Microsoft for Startups

kubernetes.manifest.delete ​

Delete any Kubernetes resource by (apiVersion, kind, name, namespace)

Delete an arbitrary Kubernetes resource by address.

Inputs:

  • connection_uuid: Cloud connection UUID (required)
  • api_version: e.g. "apps/v1", "v1", "networking.k8s.io/v1" (required)
  • kind: e.g. "Deployment", "Service", "Ingress" (required)
  • name: Resource name (required)
  • namespace: Required for namespaced kinds; omit for cluster-scoped

Outputs:

  • api_version, kind, namespace, name, existed (bool — False means 404)

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-kubernetes
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes——
api_versionstringYes——
kindstringYes——
namestringYes——
namespacestringNo—Required for namespaced kinds; omit for cluster-scoped
organization_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo——
organization_uuiduuidNo——
api_versionstringNo——
kindstringNo——
namespacestringNo——
namestringNo——
existedbooleanNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "kubernetes.manifest.delete",
  "initial_data": {
    "connection_uuid": "value",
    "api_version": "value",
    "kind": "value",
    "name": "value"
  }
}