Delete a pipeline stage
DELETE /pipelines/{pipelineUuid}/stages/{uuid}
/pipelines/{pipelineUuid}/stages/{uuid}Permanently deletes a stage. The open deals that were in it stay in the pipeline without stage.
When to use: Only when the user explicitly asks to remove a step from the sales process.
When not to use: To keep the stage but change it, use update_pipeline_stage. A won or lost stage with deals cannot be deleted: move them first with move_opportunity_stage. The initial stage cannot be deleted until another open stage is set with set_pipeline_initial_stage.
Side effects: Open deals of the stage lose their stage (an opportunity.stage_changed entry is added to each one) and show in the «no stage» column. A pipeline keeps at least one open, one won and one lost stage. The change is saved atomically. Existing deals keep their data; nothing is sent, no automation runs and no webhook fires (CRM webhook events do not exist yet).
Permissions: Requires a CRM seat and the crm.pipelines.manage capability. It also needs admin access to the pipeline.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the pipeline. Get it from list_pipelines.
uuidUUID of the stage. Get it from get_pipeline.
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.easymailing.com/pipelines/d2a7e5b1-9c43-4f68-b0a1-3e6c8f2d4b57/stages/f4b8c2d6-1a53-4e97-8d20-6c3a9e5b7f01" \ -H "X-Auth-Token: YOUR_API_KEY"