Delete the source file of a workflow that is no longer needed; returns the acknowledgement ok: true. Requires project.runs.write.
Arguments
projectReferenceString!requiredworkflowIdString!requiredinputWriteTargetInputinput.sourceTargetKindWriteTargetKindThe source to write; default project. One of
project,preview_branch.input.targetBranchIdIDRequired with the kind preview_branch.
Responses
mutation DeleteWorkflow($projectReference: String!, $workflowId: String!) { deleteWorkflow(projectReference: $projectReference, workflowId: $workflowId) { ok }}{ "data": { "deleteWorkflow": { "ok": false } }}The SourceDeletionResult! in data.deleteWorkflow.