Skip to content
Proud to collaborate with Microsoft for Startups

gitops.application.delete ​

Soft-delete a GitOpsApplication and stop its controller (optional cascade prune)

Delete a GitOpsApplication: stop its controller and soft-delete the binding. With cascade=True, also prune the resources it owned from the cluster (applies an empty desired set with prune, scoped by the owner label).

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-gitops
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
application_uuiduuidYes——
cascadebooleanNo—Also prune the resources this app owned from the cluster

Output Schema ​

FieldTypeRequiredDefaultDescription
application_uuiduuidNo——
deletedbooleanNo——
prunedintegerNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—delete—
deletedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingdeletedeleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gitops.application.delete",
  "initial_data": {
    "organization_uuid": "value",
    "application_uuid": "value"
  }
}