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

# Delete Pipeline Stage

> Delete a stage. If the stage has opportunities, you must pass `destination_stage_id` (in body or query) so they can be migrated to another stage in the same pipeline. Without it, returns 400 with the candidate stages.



## OpenAPI

````yaml DELETE /crm/pipeline-stages/{stage_id}/
openapi: 3.1.0
info:
  title: Outbox AI API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.getoutbox.ai
security: []
paths:
  /crm/pipeline-stages/{stage_id}/:
    delete:
      tags:
        - crm
      summary: Delete Pipeline Stage
      description: >-
        Delete a stage. If the stage has opportunities, you must pass
        `destination_stage_id` (in body or query) so they can be migrated to
        another stage in the same pipeline. Without it, returns 400 with the
        candidate stages.
      operationId: crm_pipeline_stages_destroy
      parameters:
        - in: query
          name: destination_stage_id
          schema:
            type: string
            format: uuid
          description: >-
            Stage to migrate the deleted stage's opportunities into. Aliases:
            `replacement_stage_id`, `target_stage_id`. Required if the stage has
            opportunities.
        - in: path
          name: stage_id
          schema:
            type: string
            format: uuid
          required: true
      responses:
        '204':
          description: Stage deleted (and opportunities migrated when applicable).
        '400':
          description: Stage has opportunities and no valid destination was supplied.
        '404':
          description: Stage not found.
      security:
        - jwtAuth: []
        - {}
components:
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````