DeleteDealStage soft-deletes a pipeline stage.
DELETE/api/v1/crm/deal-stages/:id
Fails with FAILED_PRECONDITION if any open deals currently reference this stage. Move or close those deals before deleting the stage.
Errors:
- NOT_FOUND: stage does not exist.
- FAILED_PRECONDITION: stage has open deals (ErrDealStageInUse).
Request
Responses
- 200
- default
A successful response.
An unexpected error response.