Publish pipeline template
POST/api/org/pipeline-templates/:template_id/publish
Publishes a pipeline template's draft as its next version and updates the linked projects; a project its pipeline save refuses stays on its version and is listed with the reason. Requires Org Owner or Org Admin; a draft breaking an org pipeline rule set to Block is refused with 422 guardrail, and a draft equal to the published version with 409.
Request
Responses
- 200
- 422
OK
Unprocessable content