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

# Delete Workflow

> Delete a workflow by id. Also removes any scheduled jobs targeting this workflow.



## OpenAPI

````yaml /public-apis/openapi/workflows.json delete /v1/workflows
openapi: 3.0.0
info:
  version: 1.0.0
  contact:
    name: Maxim Engineering
    email: eng@getmaxim.ai
  title: Maxim SDK API - workflows
  description: API documentation for Maxim SDK workflows endpoints
servers:
  - url: https://api.getmaxim.ai
security: []
paths:
  /v1/workflows:
    delete:
      tags:
        - Workflow
      summary: Delete Workflow
      description: >-
        Delete a workflow by id. Also removes any scheduled jobs targeting this
        workflow.
      parameters:
        - schema:
            type: string
            minLength: 1
            description: Unique identifier of the workflow to delete
          required: true
          name: id
          in: query
        - schema:
            type: string
            minLength: 1
            description: Workspace that owns the workflow
          required: true
          name: workspaceId
          in: query
      responses:
        '204':
          description: Workflow deleted successfully
        '400':
          description: Invalid request parameters
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Workflow not found
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-maxim-api-key
      description: API key for authentication

````