Skip to main content

PublishPipelineDefinition flips a draft pipeline to `published` and starts accepting enrollments. Schema is re-validated against the full ruleset before the flip.

POST 

/api/v1/crm/pipelines/:id/publish

Errors:

  • NOT_FOUND: pipeline does not exist (ErrPipelineNotFound).
  • FAILED_PRECONDITION: pipeline is not in draft status (ErrPipelineNotDraft); pipeline is already published (ErrPipelineAlreadyPublished); a referenced form is no longer published (ErrPipelineFormNotPublished).

Request

Responses

A successful response.