Skip to main content
Delete a workflow.
This operation soft-deletes the workflow. It will stop executing and no longer appear in List Workflows.

Overview

The Delete Workflow endpoint removes a workflow from your organisation. The workflow is soft-deleted — its historical executions remain queryable, but the workflow itself can no longer be fetched, updated, or run.

Authentication

Requires a valid API key. No special permission scope is needed beyond a valid key.

Key Features

  • Soft Delete: Execution history is preserved
  • No Credit Cost: This endpoint is free to use
curl -X DELETE "https://api.trigify.io/v1/workflows/wf_abc123" \
  -H "x-api-key: YOUR_API_KEY"

Path Parameters

ParameterTypeDescription
idstringThe unique workflow ID

Example Response

{
  "message": "Workflow deleted successfully",
  "success": true,
  "data": {
    "deleted": true,
    "id": "wf_abc123"
  }
}

Response Fields

FieldTypeDescription
messagestringHuman-readable status message
successbooleantrue on success
data.deletedbooleanAlways true on success
data.idstringThe ID of the deleted workflow

Credit Usage

This endpoint is free and does not consume credits.