ArchivePipelineDefinition transitions a pipeline to `archived`. New enrollments are rejected; in-flight runs continue to completion against their snapshot. Idempotent.
POST/api/v1/crm/pipelines/:id/archive
Errors:
- NOT_FOUND: pipeline does not exist (ErrPipelineNotFound).
Request
Responses
- 200
- default
A successful response.
An unexpected error response.