> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kapso.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete workflow trigger

> Permanently delete a workflow trigger. This will stop the workflow from executing automatically based on this trigger.

After deletion:
- For inbound_message triggers: Messages to the phone_number_id will no longer start this workflow
- For api_call triggers: The workflow can still be started manually via POST /workflows/{id}/executions

This operation cannot be undone. If you need to temporarily disable a trigger, use PATCH to set active=false instead.




## OpenAPI

````yaml /api/platform/v1/openapi-workflows.yaml delete /triggers/{trigger_id}
openapi: 3.1.0
info:
  title: Kapso Platform API – Advanced Resources
  version: 0.1.0
  description: >
    Build WhatsApp automation workflows and serverless functions. Create
    multi-step conversation flows, inspect executions, and deploy custom logic.
servers:
  - url: https://api.kapso.ai/platform/v1
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Workflows
    description: Create and manage conversation workflows and executions
  - name: Workflow Triggers
    description: Configure workflow triggers to automate execution
  - name: Functions
    description: Manage serverless functions, deployments, and secrets
  - name: WhatsApp Conversations
    description: Query WhatsApp conversation data and related resources
paths:
  /triggers/{trigger_id}:
    parameters:
      - name: trigger_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: Trigger identifier
    delete:
      tags:
        - Workflow Triggers
      summary: Delete workflow trigger
      description: >
        Permanently delete a workflow trigger. This will stop the workflow from
        executing automatically based on this trigger.


        After deletion:

        - For inbound_message triggers: Messages to the phone_number_id will no
        longer start this workflow

        - For api_call triggers: The workflow can still be started manually via
        POST /workflows/{id}/executions


        This operation cannot be undone. If you need to temporarily disable a
        trigger, use PATCH to set active=false instead.
      operationId: deleteWorkflowTrigger
      responses:
        '204':
          description: Trigger deleted successfully (no content returned)
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
components:
  responses:
    UnauthorizedError:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFoundError:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable error message
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````