Skip to content
Proud to collaborate with Microsoft for Startups

data.deploy.target.soft-delete ​

Soft-delete a DeploymentTarget — stops Orkestia tracking, leaves the workload on the cluster untouched.

Soft-delete a DeploymentTarget — stop tracking it, leave the workload on the cluster.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-deployments
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—UUID of the organization that owns the target
deployment_target_uuiduuidYes—UUID of the DeploymentTarget to stop tracking
actorstringNo—ID of the user/agent initiating the soft-delete

Output Schema ​

FieldTypeRequiredDefaultDescription
deployment_target_uuiduuidYes—UUID of the soft-deleted target
deleted_atstringNo—ISO-8601 timestamp of the soft-delete
already_deletedbooleanYes—True when the row was already soft-deleted before this run
deletedbooleanYes—True when this run mutated the row
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeSoft-delete DeploymentTarget
completedNoYesYes—Deleted
failedNoYesNo—Delete failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

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

{
  "workflow_type": "data.deploy.target.soft-delete",
  "initial_data": {
    "organization_uuid": "value",
    "deployment_target_uuid": "value"
  }
}